forked from 0ad/0ad
aio_open_winhandle
_WINSOCK2API_ guard for WSAStartup This was SVN commit r60.
This commit is contained in:
parent
e1be06bbbb
commit
b60f1b3353
@ -73,13 +73,16 @@ extern "C" {
|
||||
extern int _get_osfhandle(int);
|
||||
extern int _open(const char* fn, int mode, ...);
|
||||
extern int _close(int);
|
||||
extern int aio_open_winhandle(HANDLE);
|
||||
|
||||
#ifndef NO_WINSOCK
|
||||
#ifdef _MSC_VER
|
||||
#pragma comment(lib, "wsock32.lib")
|
||||
#endif
|
||||
#ifndef _WINSOCK2API_
|
||||
extern __declspec(dllimport) int __stdcall WSAStartup(WORD, char*);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user