Fix platform and debug macros

This commit is contained in:
Vinnie Falco
2013-06-30 10:10:19 -07:00
parent 2fefe6ca8d
commit c35c52ff08
25 changed files with 128 additions and 124 deletions

View File

@@ -19,7 +19,7 @@
#include <stdio.h>
#include <string.h>
#ifdef WIN32
#if BEAST_WIN32
#include <io.h>
#endif
#include <fcntl.h>
@@ -87,7 +87,7 @@ int main(int argc, char *argv[])
if (argc == 1 || !strcmp(argv[i],"-"))
{
#ifdef WIN32
#if BEAST_WIN32
_setmode(_fileno(stdin), _O_BINARY);
#endif
fp = stdin;

View File

@@ -38,7 +38,7 @@
#include <boost/utility.hpp>
#if defined(WIN32)
#if BEAST_WIN32
#include <winsock2.h>
#else
#include <arpa/inet.h>