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

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