diff options
author | Ranjeet Singh <Ranjeet.Singh@arm.com> | 2017-03-01 11:42:01 +0000 |
---|---|---|
committer | Ranjeet Singh <Ranjeet.Singh@arm.com> | 2017-03-01 11:42:01 +0000 |
commit | ef6e672d046010dab3a59fb6d8a5fde6bbafedd5 (patch) | |
tree | 6694a33db9819b264863033d8be849959361bb35 /libcxxabi/include/cxxabi.h | |
parent | a53823effdf2fc855ab51f5a359ae578921f4fb7 (diff) | |
download | bcm5719-llvm-ef6e672d046010dab3a59fb6d8a5fde6bbafedd5.tar.gz bcm5719-llvm-ef6e672d046010dab3a59fb6d8a5fde6bbafedd5.zip |
[libcxxabi] Clean up macro usage.
Convention in libcxxabi is to use !defined(FOO) not !FOO.
Differential Revision: https://reviews.llvm.org/D30459
llvm-svn: 296612
Diffstat (limited to 'libcxxabi/include/cxxabi.h')
-rw-r--r-- | libcxxabi/include/cxxabi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/include/cxxabi.h b/libcxxabi/include/cxxabi.h index b5be3386748..2596560d6e9 100644 --- a/libcxxabi/include/cxxabi.h +++ b/libcxxabi/include/cxxabi.h @@ -55,7 +55,7 @@ __cxa_get_exception_ptr(void *exceptionObject) throw(); extern _LIBCXXABI_FUNC_VIS void * __cxa_begin_catch(void *exceptionObject) throw(); extern _LIBCXXABI_FUNC_VIS void __cxa_end_catch(); -#if _LIBCXXABI_ARM_EHABI +#if defined(_LIBCXXABI_ARM_EHABI) extern _LIBCXXABI_FUNC_VIS bool __cxa_begin_cleanup(void *exceptionObject) throw(); extern _LIBCXXABI_FUNC_VIS void __cxa_end_cleanup(); |