mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-04 15:12:26 +00:00
Fix inclusion of windows.h breaking things with its defines
This commit is contained in:
parent
d58bc01755
commit
29034e14fe
@ -51,7 +51,7 @@
|
|||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#elif defined(TERMCOLOR_OS_WINDOWS)
|
#elif defined(TERMCOLOR_OS_WINDOWS)
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
# include <windows.h>
|
# include "common/platform/win/include_windows.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -21,6 +21,7 @@
|
|||||||
#include "common/types.h"
|
#include "common/types.h"
|
||||||
|
|
||||||
#include "mysql.h"
|
#include "mysql.h"
|
||||||
|
#include <memory>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
#define CR_SERVER_GONE_ERROR 2006
|
#define CR_SERVER_GONE_ERROR 2006
|
||||||
|
|||||||
@ -33,10 +33,8 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include <conio.h>
|
#include "common/platform/platform.h"
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
#include <process.h>
|
|
||||||
#include <windows.h>
|
|
||||||
#else
|
#else
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|||||||
@ -19,7 +19,9 @@
|
|||||||
|
|
||||||
#include "common/net/tcp_connection_pooling.h"
|
#include "common/net/tcp_connection_pooling.h"
|
||||||
|
|
||||||
|
#include "common/platform/platform.h"
|
||||||
#include "uv.h"
|
#include "uv.h"
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
|
|
||||||
|
#include "common/platform/win/include_windows.h"
|
||||||
#include <WinSock2.h>
|
#include <WinSock2.h>
|
||||||
|
|
||||||
#endif // _WINDOWS
|
#endif // _WINDOWS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user