summaryrefslogtreecommitdiffstats
path: root/libunwind/src/UnwindLevel1.c
diff options
context:
space:
mode:
authorRanjeet Singh <Ranjeet.Singh@arm.com>2017-03-31 15:28:06 +0000
committerRanjeet Singh <Ranjeet.Singh@arm.com>2017-03-31 15:28:06 +0000
commit5808011bd9f9b61b93cfe82953e5a03852a86aae (patch)
treeffae8fe90e2666750ad3a68b9074ddbce4d5bba9 /libunwind/src/UnwindLevel1.c
parent7adf8c52a82be01a3c3428df9e2e84b7083a69d5 (diff)
downloadbcm5719-llvm-5808011bd9f9b61b93cfe82953e5a03852a86aae.tar.gz
bcm5719-llvm-5808011bd9f9b61b93cfe82953e5a03852a86aae.zip
[libunwind] Clean up macro usage.
Convention in libunwind is to use !defined(FOOT) not !FOO. Differential Revision: https://reviews.llvm.org/D31078 llvm-svn: 299225
Diffstat (limited to 'libunwind/src/UnwindLevel1.c')
-rw-r--r--libunwind/src/UnwindLevel1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libunwind/src/UnwindLevel1.c b/libunwind/src/UnwindLevel1.c
index 3f89e9c521c..19116fad7a4 100644
--- a/libunwind/src/UnwindLevel1.c
+++ b/libunwind/src/UnwindLevel1.c
@@ -30,7 +30,7 @@
#include "unwind.h"
#include "config.h"
-#if !_LIBUNWIND_ARM_EHABI
+#if !defined(_LIBUNWIND_ARM_EHABI)
static _Unwind_Reason_Code
unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) {
@@ -503,4 +503,4 @@ _LIBUNWIND_EXPORT void _Unwind_SetIP(struct _Unwind_Context *context,
unw_set_reg(cursor, UNW_REG_IP, value);
}
-#endif // !_LIBUNWIND_ARM_EHABI
+#endif // !defined(_LIBUNWIND_ARM_EHABI)
OpenPOWER on IntegriCloud