diff options
author | Elliott Hughes <enh@google.com> | 2015-07-29 17:45:24 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-07-29 17:45:24 -0700 |
commit | adbf442a515c51cb2acb34e20c1d2ea0e843c660 (patch) | |
tree | 11511aa802e506ae1bfe663e46493d0f04951b40 /include/utils | |
parent | a6597598a0b82759960df09fd173192ca8c82f0c (diff) | |
download | core-adbf442a515c51cb2acb34e20c1d2ea0e843c660.tar.gz core-adbf442a515c51cb2acb34e20c1d2ea0e843c660.tar.bz2 core-adbf442a515c51cb2acb34e20c1d2ea0e843c660.zip |
Use _WIN32 rather than HAVE_WINSOCK.
Change-Id: I9855b6fe72e2f2f3a8360c0993a67cb988024ee4
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/ByteOrder.h | 2 | ||||
-rw-r--r-- | include/utils/FileMap.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/utils/ByteOrder.h b/include/utils/ByteOrder.h index baa3a83dd..44ea13df8 100644 --- a/include/utils/ByteOrder.h +++ b/include/utils/ByteOrder.h @@ -21,7 +21,7 @@ #include <stdint.h> #include <sys/types.h> -#ifdef HAVE_WINSOCK +#if defined(_WIN32) #include <winsock2.h> #else #include <netinet/in.h> diff --git a/include/utils/FileMap.h b/include/utils/FileMap.h index f70fc927e..afd7bfd7b 100644 --- a/include/utils/FileMap.h +++ b/include/utils/FileMap.h @@ -26,7 +26,7 @@ #if defined(__MINGW32__) // Ensure that we always pull in winsock2.h before windows.h -#ifdef HAVE_WINSOCK +#if defined(_WIN32) #include <winsock2.h> #endif #include <windows.h> |