diff options
author | Dan Albert <danalbert@google.com> | 2017-11-01 21:17:56 +0000 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2017-11-01 21:17:56 +0000 |
commit | 5a4e27dfa6f346a8d1e5c4e834b4877a37c57b58 (patch) | |
tree | c5edb594c48109488e0dc6a0c723d6489d97cd71 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | 0ad18f888ed464b28e947dbc92ea4d6764caf128 (diff) | |
download | bcm5719-llvm-5a4e27dfa6f346a8d1e5c4e834b4877a37c57b58.tar.gz bcm5719-llvm-5a4e27dfa6f346a8d1e5c4e834b4877a37c57b58.zip |
[libc++] Don't alias quick_exit if __ANDROID_API__ < 21
Summary:
quick_exit() and at_quick_exit() were introduced in android NDK 21:
https://android.googlesource.com/platform/prebuilts/ndk/+/dev/platform/sysroot/usr/include/stdlib.h#55
This CL conditions `_LIBCPP_HAS_QUICK_EXIT` on `__ANDROID_API__ >= 21`. The only place this macro is used is in some using declarations: `using ::quick_exit`, `using ::at_quick_exit`.
Also, add a missing include to sys/cdefs.h which is what defines `__BIONIC__`.
Reviewers: thakis, danalbert, EricWF
Reviewed By: danalbert
Subscribers: srhines, krytarowski
Differential Revision: https://reviews.llvm.org/D39479
llvm-svn: 317124
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions