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 /libutils/Unicode.cpp | |
parent | a6597598a0b82759960df09fd173192ca8c82f0c (diff) | |
download | system_core-adbf442a515c51cb2acb34e20c1d2ea0e843c660.tar.gz system_core-adbf442a515c51cb2acb34e20c1d2ea0e843c660.tar.bz2 system_core-adbf442a515c51cb2acb34e20c1d2ea0e843c660.zip |
Use _WIN32 rather than HAVE_WINSOCK.
Change-Id: I9855b6fe72e2f2f3a8360c0993a67cb988024ee4
Diffstat (limited to 'libutils/Unicode.cpp')
-rw-r--r-- | libutils/Unicode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/Unicode.cpp b/libutils/Unicode.cpp index fb876c91f..6f4b72176 100644 --- a/libutils/Unicode.cpp +++ b/libutils/Unicode.cpp @@ -18,7 +18,7 @@ #include <stddef.h> -#ifdef HAVE_WINSOCK +#if defined(_WIN32) # undef nhtol # undef htonl # undef nhtos |