mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix platform and debug macros
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
#include <boost/utility.hpp>
|
||||
|
||||
#if defined(WIN32)
|
||||
#if BEAST_WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
|
||||
Reference in New Issue
Block a user