diff options
author | Joshua Duong <joshuaduong@google.com> | 2021-03-19 12:12:35 -0700 |
---|---|---|
committer | Joshua Duong <joshuaduong@google.com> | 2021-03-19 12:12:35 -0700 |
commit | 28fd4e5700fdba28000c2ac5610eb101c1c5158b (patch) | |
tree | eb4027df321fd9d66db5903981d7dc1934221463 /Android.bp | |
parent | 531757e2d7f3aabadd68962702c1abb9b93d6071 (diff) | |
download | adb-28fd4e5700fdba28000c2ac5610eb101c1c5158b.tar.gz |
Use __APPLE_USE_RFC_3542 for darwin.
Some versions of MacOS sdk require this to use the ipv6 socket
options.
Bug: 183216189
Test: Compiles on mac
Change-Id: Id1d484a9f348d465d743128da6cc8c7b7df3d305
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -64,6 +64,10 @@ cc_defaults { "-framework IOKit", "-lobjc", ], + cflags: [ + // Required, to use the new IPv6 Sockets options introduced by RFC 3542. + "-D__APPLE_USE_RFC_3542", + ], }, windows: { |