mirror of https://github.com/axmolengine/axmol.git
fix compiling error on win
This commit is contained in:
parent
71ad9d7dd4
commit
d11bfeb8d4
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||||
#include <BaseTsd.h>
|
#include <BaseTsd.h>
|
||||||
|
#include <WinSock2.h>
|
||||||
//typedef SSIZE_T ssize_t;
|
//typedef SSIZE_T ssize_t;
|
||||||
// ssize_t was redefined as int in libwebsockets.h.
|
// ssize_t was redefined as int in libwebsockets.h.
|
||||||
// Therefore, to avoid conflict, we needs the same definition.
|
// Therefore, to avoid conflict, we needs the same definition.
|
||||||
|
|
Loading…
Reference in New Issue