Test for USE_WINSOCK since it is more restrictive than WIN32

This commit is contained in:
Yang Tse
2009-11-09 12:57:26 +00:00
parent 809f2a190c
commit d7231f54d7
3 changed files with 8 additions and 8 deletions

View File

@@ -21,7 +21,7 @@
#include "ares_setup.h"
#ifdef WIN32
#ifdef USE_WINSOCK
#include <iphlpapi.h>
@@ -34,7 +34,7 @@ typedef BOOLEAN (APIENTRY *fpSystemFunction036_t) (void*, ULONG);
extern fpGetNetworkParams_t fpGetNetworkParams;
extern fpSystemFunction036_t fpSystemFunction036;
#endif /* WIN32 */
#endif /* USE_WINSOCK */
#endif /* HEADER_CARES_LIBRARY_INIT_H */