diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-09 12:57:26 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-09 12:57:26 +0000 |
commit | d7231f54d77096cb3d8483e9bd8b834afbf1d520 (patch) | |
tree | 696fdd1272a6fa192840b76e0ee2308876c945ce /ares/ares_library_init.h | |
parent | 809f2a190cbef47810553892130666d8f0dff066 (diff) |
Test for USE_WINSOCK since it is more restrictive than WIN32
Diffstat (limited to 'ares/ares_library_init.h')
-rw-r--r-- | ares/ares_library_init.h | 4 |
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 */ |