summaryrefslogtreecommitdiffstats
path: root/libunwind/src/Unwind-sjlj.c
diff options
context:
space:
mode:
Diffstat (limited to 'libunwind/src/Unwind-sjlj.c')
-rw-r--r--libunwind/src/Unwind-sjlj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libunwind/src/Unwind-sjlj.c b/libunwind/src/Unwind-sjlj.c
index 89944a283cf..f01e65259fc 100644
--- a/libunwind/src/Unwind-sjlj.c
+++ b/libunwind/src/Unwind-sjlj.c
@@ -32,7 +32,7 @@
// function also sets the personality and lsda fields of the block.
//
-#if _LIBUNWIND_BUILD_SJLJ_APIS
+#if defined(_LIBUNWIND_BUILD_SJLJ_APIS)
struct _Unwind_FunctionContext {
// next function in stack of handlers
@@ -465,4 +465,4 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetCFA(struct _Unwind_Context *context) {
return 0;
}
-#endif // _LIBUNWIND_BUILD_SJLJ_APIS
+#endif // defined(_LIBUNWIND_BUILD_SJLJ_APIS)
OpenPOWER on IntegriCloud