Move portable error number symbolic name definitions to setup_once.h

This commit is contained in:
Yang Tse 2007-02-17 13:51:24 +00:00
parent b54a8531a9
commit d9bf55570b
6 changed files with 90 additions and 23 deletions

View file

@ -49,12 +49,6 @@ void win32_perror (const char *msg);
#endif /* WIN32 */
#ifdef USE_WINSOCK
#define EINPROGRESS WSAEINPROGRESS
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EISCONN WSAEISCONN
#define ENOTSOCK WSAENOTSOCK
#define ECONNREFUSED WSAECONNREFUSED
void win32_init(void);
void win32_cleanup(void);
#endif /* USE_WINSOCK */