| commit | 28fd4e5700fdba28000c2ac5610eb101c1c5158b | [log] [tgz] |
|---|---|---|
| author | Joshua Duong <joshuaduong@google.com> | Fri Mar 19 12:12:35 2021 -0700 |
| committer | Joshua Duong <joshuaduong@google.com> | Fri Mar 19 12:12:35 2021 -0700 |
| tree | eb4027df321fd9d66db5903981d7dc1934221463 | |
| parent | 531757e2d7f3aabadd68962702c1abb9b93d6071 [diff] [blame] |
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
diff --git a/Android.bp b/Android.bp index 6dfd7c2..b4566bf 100644 --- a/Android.bp +++ b/Android.bp
@@ -64,6 +64,10 @@ "-framework IOKit", "-lobjc", ], + cflags: [ + // Required, to use the new IPv6 Sockets options introduced by RFC 3542. + "-D__APPLE_USE_RFC_3542", + ], }, windows: {