aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_library_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_library_init.h')
-rw-r--r--ares/ares_library_init.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares_library_init.h b/ares/ares_library_init.h
index d99a0bae1..dc8f11693 100644
--- a/ares/ares_library_init.h
+++ b/ares/ares_library_init.h
@@ -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 */