We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0cdd02 commit 4439b6bCopy full SHA for 4439b6b
cocos/platform/win32/CCStdC-win32.h
@@ -97,12 +97,12 @@ typedef SSIZE_T ssize_t;
97
#ifndef NOMINMAX
98
#define NOMINMAX
99
#endif
100
-// Structure timeval has define in winsock.h, include windows.h for it.
101
-#include <Windows.h>
102
103
#ifndef __MINGW32__
104
105
#include <WinSock2.h>
+// Structure timeval has define in winsock.h, include windows.h for it.
+#include <Windows.h>
106
107
NS_CC_BEGIN
108
@@ -120,6 +120,7 @@ NS_CC_END
120
121
#undef _WINSOCKAPI_
122
#include <winsock2.h>
123
124
125
// Conflicted with math.h isnan
126
#include <cmath>
0 commit comments