summaryrefslogtreecommitdiff
path: root/benchmarks/string_benchmark.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-06-01 14:08:58 -0700
committerElliott Hughes <enh@google.com>2017-06-01 14:08:58 -0700
commit2eab77e5034444fee63a302c89502c970dd2b0b6 (patch)
tree7d8db3d5a0fffeb638d73e2702b2d30bf2b46e1f /benchmarks/string_benchmark.cpp
parent15eaaddef9fffda1209e9cc576b47b0f6e0cb379 (diff)
Fix boost build with unified headers.
boost (1.64.0 at least) assumes that if you have POSIX_MADV_NORMAL, you have posix_madvise. With unified headers, this isn't true. Rather than make life harder for projects that don't use configure, just make it so. We already applied similar workarounds for epoll_create1 and inotify_init1. Bug: https://github.com/android-ndk/ndk/issues/395 Test: built boost (long story!) Change-Id: I5d2d8de7b30921dde913251d35dcd249a2876f94
Diffstat (limited to 'benchmarks/string_benchmark.cpp')
0 files changed, 0 insertions, 0 deletions