summaryrefslogtreecommitdiffstats
path: root/libcutils/record_stream.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-07-29 17:45:24 -0700
committerElliott Hughes <enh@google.com>2015-07-29 17:45:24 -0700
commitadbf442a515c51cb2acb34e20c1d2ea0e843c660 (patch)
tree11511aa802e506ae1bfe663e46493d0f04951b40 /libcutils/record_stream.c
parenta6597598a0b82759960df09fd173192ca8c82f0c (diff)
downloadsystem_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 'libcutils/record_stream.c')
-rw-r--r--libcutils/record_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcutils/record_stream.c b/libcutils/record_stream.c
index 69949047c..2bc4226ed 100644
--- a/libcutils/record_stream.c
+++ b/libcutils/record_stream.c
@@ -22,7 +22,7 @@
#include <cutils/record_stream.h>
#include <string.h>
#include <stdint.h>
-#ifdef HAVE_WINSOCK
+#if defined(_WIN32)
#include <winsock2.h> /* for ntohl */
#else
#include <netinet/in.h>