summaryrefslogtreecommitdiff
path: root/src/third_party/unwind/dist/src/ia64/Gstep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/unwind/dist/src/ia64/Gstep.c')
-rw-r--r--src/third_party/unwind/dist/src/ia64/Gstep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/unwind/dist/src/ia64/Gstep.c b/src/third_party/unwind/dist/src/ia64/Gstep.c
index df4ecb8796c..70455e3ae20 100644
--- a/src/third_party/unwind/dist/src/ia64/Gstep.c
+++ b/src/third_party/unwind/dist/src/ia64/Gstep.c
@@ -30,7 +30,7 @@ static inline int
linux_sigtramp (struct cursor *c, ia64_loc_t prev_cfm_loc,
unw_word_t *num_regsp)
{
-#if defined(UNW_LOCAL_ONLY) && !defined(__linux)
+#if defined(UNW_LOCAL_ONLY) && !defined(__linux__)
return -UNW_EINVAL;
#else
unw_word_t sc_addr;
@@ -64,7 +64,7 @@ static inline int
linux_interrupt (struct cursor *c, ia64_loc_t prev_cfm_loc,
unw_word_t *num_regsp, int marker)
{
-#if defined(UNW_LOCAL_ONLY) && !(defined(__linux) && defined(__KERNEL__))
+#if defined(UNW_LOCAL_ONLY) && !(defined(__linux__) && defined(__KERNEL__))
return -UNW_EINVAL;
#else
unw_word_t sc_addr, num_regs;