diff --git a/loader/include/Geode/cocos/platform/win32/CCStdC.h b/loader/include/Geode/cocos/platform/win32/CCStdC.h index edc00be1..5cd76657 100644 --- a/loader/include/Geode/cocos/platform/win32/CCStdC.h +++ b/loader/include/Geode/cocos/platform/win32/CCStdC.h @@ -71,13 +71,7 @@ THE SOFTWARE. #include "./compat/stdint.h" #endif -#define _WINSOCKAPI_ -// Structure timeval has define in winsock.h, include windows.h for it. -#include - -#ifndef __MINGW32__ - -// #include +struct timeval; NS_CC_BEGIN @@ -91,11 +85,5 @@ int CC_DLL gettimeofday(struct timeval *, struct timezone *); NS_CC_END -#else - -#include - -#endif // __MINGW32__ - #endif // __CC_STD_C_H__