OSDN Git Service

Use _WIN32 rather than HAVE_WINSOCK in librilutils.
authorElliott Hughes <enh@google.com>
Thu, 30 Jul 2015 00:47:06 +0000 (17:47 -0700)
committerElliott Hughes <enh@google.com>
Thu, 30 Jul 2015 00:47:06 +0000 (17:47 -0700)
(This code isn't built for the host, but has a copy of record_stream.c.)

Change-Id: I01ff7f9d138ad83c379e0dbe4abb2447a7ae98fe

librilutils/record_stream.c

index 558d179..566f666 100644 (file)
@@ -22,7 +22,7 @@
 #include <telephony/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>