Blame SOURCES/glibc-rh1505492-undef-37.patch

c6d234
commit 6680738a18fc219de2e4f7be1d53e4fb251f1166
c6d234
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
c6d234
Date:   Wed Jul 9 10:36:23 2014 +0530
c6d234
c6d234
    Fix Wundef warning for __cplusplus
c6d234
    
c6d234
    All current uses of the __cplusplus macro only check if it is defined
c6d234
    or not.  Fix this #if to use $ifdef like the rest of the code.
c6d234
c6d234
diff --git a/sysdeps/generic/unwind-pe.h b/sysdeps/generic/unwind-pe.h
c6d234
index 3985fec998a2083d..b190cb34a102f5f9 100644
c6d234
--- a/sysdeps/generic/unwind-pe.h
c6d234
+++ b/sysdeps/generic/unwind-pe.h
c6d234
@@ -22,7 +22,7 @@
c6d234
    than duplicating code, however.  */
c6d234
 
c6d234
 /* If using C++, references to abort have to be qualified with std::.  */
c6d234
-#if __cplusplus
c6d234
+#ifdef __cplusplus
c6d234
 #define __gxx_abort std::abort
c6d234
 #else
c6d234
 #define __gxx_abort abort