mirror of https://github.com/axmolengine/axmol.git
added check for WINRT_NO_WINSOCK
This commit is contained in:
parent
fd3177d350
commit
67377b7d46
|
@ -94,12 +94,14 @@ typedef SSIZE_T ssize_t;
|
|||
|
||||
#include <Windows.h>
|
||||
|
||||
#ifdef WINRT_NO_WINSOCK
|
||||
#undef timeval
|
||||
struct timeval
|
||||
{
|
||||
long tv_sec; // seconds
|
||||
long tv_usec; // microSeconds
|
||||
};
|
||||
};
|
||||
#endif // WINRT_NO_WINSOCK
|
||||
#endif // CC_TARGET_PLATFORM == CC_PLATFORM_WP8
|
||||
|
||||
struct timezone
|
||||
|
|
Loading…
Reference in New Issue