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/libutils/Unicode.cpp b/libutils/Unicode.cpp index fb876c9..6f4b721 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