From 59cbe8d10750a0577c3ea999b2dd90bf0a05ffe6 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 29 Jul 2015 17:49:27 -0700 Subject: Use _WIN32 rather than HAVE_WINSOCK. Change-Id: I0821d2af8473c359e8b73aec455000cb7c42f690 --- libs/androidfw/ResourceTypes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/androidfw/ResourceTypes.cpp b/libs/androidfw/ResourceTypes.cpp index fbe08ec11c43..83638104de54 100644 --- a/libs/androidfw/ResourceTypes.cpp +++ b/libs/androidfw/ResourceTypes.cpp @@ -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) ) -- cgit v1.2.3-59-g8ed1b