OSDN Git Service
(root)
/
android-x86
/
hardware-ril.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26a79e4
)
Use _WIN32 rather than HAVE_WINSOCK in librilutils.
author
Elliott Hughes
<enh@google.com>
Thu, 30 Jul 2015 00:47:06 +0000
(17:47 -0700)
committer
Elliott 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
patch
|
blob
|
history
diff --git
a/librilutils/record_stream.c
b/librilutils/record_stream.c
index
558d179
..
566f666
100644
(file)
--- a/
librilutils/record_stream.c
+++ b/
librilutils/record_stream.c
@@
-22,7
+22,7
@@
#include <telephony/record_stream.h>
#include <string.h>
#include <stdint.h>
-#if
def HAVE_WINSOCK
+#if
defined(_WIN32)
#include <winsock2.h> /* for ntohl */
#else
#include <netinet/in.h>