commit | adbf442a515c51cb2acb34e20c1d2ea0e843c660 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jul 29 17:45:24 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Jul 29 17:45:24 2015 -0700 |
tree | 11511aa802e506ae1bfe663e46493d0f04951b40 | |
parent | a6597598a0b82759960df09fd173192ca8c82f0c [diff] [blame] |
Use _WIN32 rather than HAVE_WINSOCK. Change-Id: I9855b6fe72e2f2f3a8360c0993a67cb988024ee4
diff --git a/include/utils/ByteOrder.h b/include/utils/ByteOrder.h index baa3a83..44ea13d 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>