aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-09 10:36:23 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-09 10:36:23 +0530
commit6680738a18fc219de2e4f7be1d53e4fb251f1166 (patch)
treed137246ee289d05723be5c48f0aa793cf9abc0fd /sysdeps/generic
parente35c53e397e7abbd41fedacdedcfa5af7b5c2c52 (diff)
downloadglibc-6680738a18fc219de2e4f7be1d53e4fb251f1166.zip
glibc-6680738a18fc219de2e4f7be1d53e4fb251f1166.tar.gz
glibc-6680738a18fc219de2e4f7be1d53e4fb251f1166.tar.bz2
Fix Wundef warning for __cplusplus
All current uses of the __cplusplus macro only check if it is defined or not. Fix this #if to use $ifdef like the rest of the code.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/unwind-pe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/unwind-pe.h b/sysdeps/generic/unwind-pe.h
index a4afe5c..a6ee414 100644
--- a/sysdeps/generic/unwind-pe.h
+++ b/sysdeps/generic/unwind-pe.h
@@ -22,7 +22,7 @@
than duplicating code, however. */
/* If using C++, references to abort have to be qualified with std::. */
-#if __cplusplus
+#ifdef __cplusplus
#define __gxx_abort std::abort
#else
#define __gxx_abort abort