1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-06 11:19:49 +00:00

Check for USE_WINSOCK instead of WIN32 where the check was done

to verify winsock API availability.
This commit is contained in:
Yang Tse
2006-10-18 21:05:40 +00:00
parent 70ed671edf
commit 77ac18117c
4 changed files with 6 additions and 6 deletions

View File

@ -59,7 +59,7 @@
#define TRUE 1
#endif
#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
#ifdef USE_WINSOCK
#define GET_ERRNO() WSAGetLastError()
#else
#define GET_ERRNO() errno