mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-29 02:45:38 -05:00
stop including winsock
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
This commit is contained in:
parent
b53759fcb5
commit
70a1ee81f9
1 changed files with 1 additions and 13 deletions
|
@ -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 <Windows.h>
|
||||
|
||||
#ifndef __MINGW32__
|
||||
|
||||
// #include <WinSock2.h>
|
||||
struct timeval;
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
|
@ -91,11 +85,5 @@ int CC_DLL gettimeofday(struct timeval *, struct timezone *);
|
|||
|
||||
NS_CC_END
|
||||
|
||||
#else
|
||||
|
||||
#include <winsock.h>
|
||||
|
||||
#endif // __MINGW32__
|
||||
|
||||
#endif // __CC_STD_C_H__
|
||||
|
||||
|
|
Loading…
Reference in a new issue