diff options
author | Elliott Hughes <enh@google.com> | 2015-07-29 17:47:06 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-07-29 17:47:06 -0700 |
commit | 75f10b865655eb08d24fc9a9c854dc667c173d3e (patch) | |
tree | d5ae4523d62d80be0b7f3bd77250e43e9db553b5 /librilutils | |
parent | 26a79e4eba9a677d446dc767cf1df29f5ca1adb4 (diff) | |
download | android_hardware_ril-75f10b865655eb08d24fc9a9c854dc667c173d3e.tar.gz android_hardware_ril-75f10b865655eb08d24fc9a9c854dc667c173d3e.tar.bz2 android_hardware_ril-75f10b865655eb08d24fc9a9c854dc667c173d3e.zip |
Use _WIN32 rather than HAVE_WINSOCK in librilutils.
(This code isn't built for the host, but has a copy of record_stream.c.)
Change-Id: I01ff7f9d138ad83c379e0dbe4abb2447a7ae98fe
Diffstat (limited to 'librilutils')
-rw-r--r-- | librilutils/record_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librilutils/record_stream.c b/librilutils/record_stream.c index 558d179..566f666 100644 --- 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> -#ifdef HAVE_WINSOCK +#if defined(_WIN32) #include <winsock2.h> /* for ntohl */ #else #include <netinet/in.h> |