aio_open_winhandle

_WINSOCK2API_ guard for WSAStartup

This was SVN commit r60.
This commit is contained in:
Simon Brenner 2003-11-13 16:30:55 +00:00
parent e1be06bbbb
commit b60f1b3353

View File

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