summaryrefslogtreecommitdiff
path: root/debuggerd/debuggerd_test.cpp
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2019-09-17 22:24:38 +0800
committerBowgo Tsai <bowgotsai@google.com>2019-09-18 13:06:45 +0800
commit41d8a576ec76ba442a27eb75857293240b243af6 (patch)
tree356dee018c38d7f60ce84df8b1ac4e34ba759d05 /debuggerd/debuggerd_test.cpp
parenta550e7f4128a4e5747950d239fd41cbbc436649b (diff)
<android-base/endian.h>: fix interoperability issue
<winsock2.h> has defined htonl(), ntohl(), htons() and ntohs() with different return type that cannot be replaced by those macro definitions in <android-base/endian.h>. Includes <winsock2.h> first to prevent them from being replaced. Then defines the macro later so we don't need to call into DLL when using those functions. Bug: 139639521 Test: m libbase_test && wine out/host/windows-x86/nativetest64/libbase_test/libbase_test64.exe Test: m checkbuild Change-Id: I672f23a31c6800df10e04d36695d446bca4c91e9
Diffstat (limited to 'debuggerd/debuggerd_test.cpp')
0 files changed, 0 insertions, 0 deletions