commit | b1ee145207bde5f85ea70efd83f5c2815cca7b3b | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@google.com> | Wed Aug 19 21:29:27 2020 -0700 |
committer | Petr Hosek <phosek@google.com> | Fri Aug 28 02:37:43 2020 +0000 |
tree | db2249e4a158a8241b1b68f7e0cb0024570c6544 | |
parent | 0e758ebcb4bb28f4820d5183547e43af197b1cf4 [diff] |
Don't define _XOPEN_SOURCE on Apple platforms This breaks the build on recent versions of macOS. Defining it makes __DARWIN_C_LEVEL equal to _POSIX_C_SOURCE, which disables access to functions like timespec_get and aligned_alloc on macOS 10.15 and newer, which are now used by libc++. Change-Id: I9215aaf203f19fbe045431d9ace160d588864c43 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/icu/+/419140 Reviewed-by: Roland McGrath <mcgrathr@google.com>