Merge "Use _WIN32 rather than HAVE_WINSOCK."

This commit is contained in:
Elliott Hughes
2015-07-30 15:19:09 +00:00
committed by Gerrit Code Review

View File

@@ -47,7 +47,7 @@
namespace android {
#ifdef HAVE_WINSOCK
#if defined(_WIN32)
#undef nhtol
#undef htonl
#define ntohl(x) ( ((x) << 24) | (((x) >> 24) & 255) | (((x) << 8) & 0xff0000) | (((x) >> 8) & 0xff00) )