am f8a6a2f6
: Merge "Use _WIN32 rather than HAVE_WINSOCK."
* commit 'f8a6a2f602ad4ec049b2d2d4741571a76c3d014b': Use _WIN32 rather than HAVE_WINSOCK.
This commit is contained in:
@ -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) )
|
||||
|
Reference in New Issue
Block a user