added check for WINRT_NO_WINSOCK

This commit is contained in:
Dale Stammen 2014-09-26 12:05:19 -07:00
parent fd3177d350
commit 67377b7d46
1 changed files with 3 additions and 1 deletions

View File

@ -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