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

25845f
commit fdf4534d02483af279deddfd23cb61f6079dd277
25845f
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
25845f
Date:   Tue Mar 18 07:22:36 2014 +0530
25845f
25845f
    Fix -Wundef warnins for __FP_FAST_FMA*
25845f
    
25845f
    The macros are defined by the compiler, so we can only verify whether
25845f
    they are defined or not.
25845f
25845f
diff --git a/bits/mathdef.h b/bits/mathdef.h
25845f
index fb998ca22fd78e44..ed62a000be11cd37 100644
25845f
--- a/bits/mathdef.h
25845f
+++ b/bits/mathdef.h
25845f
@@ -35,15 +35,15 @@ typedef double double_t;	/* `double' expressions are evaluated as
25845f
 
25845f
 /* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
25845f
    builtins are supported.  */
25845f
-#if __FP_FAST_FMA
25845f
+#ifdef __FP_FAST_FMA
25845f
 # define FP_FAST_FMA 1
25845f
 #endif
25845f
 
25845f
-#if __FP_FAST_FMAF
25845f
+#ifdef __FP_FAST_FMAF
25845f
 # define FP_FAST_FMAF 1
25845f
 #endif
25845f
 
25845f
-#if __FP_FAST_FMAL
25845f
+#ifdef __FP_FAST_FMAL
25845f
 # define FP_FAST_FMAL 1
25845f
 #endif
25845f
 
25845f
diff --git a/sysdeps/arm/bits/mathdef.h b/sysdeps/arm/bits/mathdef.h
25845f
index 37e92267455e5ddd..8230d4ba78a991c6 100644
25845f
--- a/sysdeps/arm/bits/mathdef.h
25845f
+++ b/sysdeps/arm/bits/mathdef.h
25845f
@@ -35,15 +35,15 @@ typedef double double_t;	/* `double' expressions are evaluated as
25845f
 
25845f
 /* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
25845f
    builtins are supported.  */
25845f
-# if __FP_FAST_FMA
25845f
+# ifdef __FP_FAST_FMA
25845f
 #  define FP_FAST_FMA 1
25845f
 # endif
25845f
 
25845f
-# if __FP_FAST_FMAF
25845f
+# ifdef __FP_FAST_FMAF
25845f
 #  define FP_FAST_FMAF 1
25845f
 # endif
25845f
 
25845f
-# if __FP_FAST_FMAL
25845f
+# ifdef __FP_FAST_FMAL
25845f
 #  define FP_FAST_FMAL 1
25845f
 # endif
25845f
 
25845f
diff --git a/sysdeps/tile/bits/mathdef.h b/sysdeps/tile/bits/mathdef.h
25845f
index bf0da5e438b2c01c..e5c54e85674d7695 100644
25845f
--- a/sysdeps/tile/bits/mathdef.h
25845f
+++ b/sysdeps/tile/bits/mathdef.h
25845f
@@ -33,15 +33,15 @@ typedef double double_t;
25845f
 
25845f
 /* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
25845f
    builtins are supported.  */
25845f
-# if __FP_FAST_FMA
25845f
+# ifdef __FP_FAST_FMA
25845f
 #  define FP_FAST_FMA 1
25845f
 # endif
25845f
 
25845f
-# if __FP_FAST_FMAF
25845f
+# ifdef __FP_FAST_FMAF
25845f
 #  define FP_FAST_FMAF 1
25845f
 # endif
25845f
 
25845f
-# if __FP_FAST_FMAL
25845f
+# ifdef __FP_FAST_FMAL
25845f
 #  define FP_FAST_FMAL 1
25845f
 # endif
25845f
 
25845f
diff --git a/sysdeps/x86/bits/mathdef.h b/sysdeps/x86/bits/mathdef.h
25845f
index c202ad5928659f21..d7b40b4a52e95fe1 100644
25845f
--- a/sysdeps/x86/bits/mathdef.h
25845f
+++ b/sysdeps/x86/bits/mathdef.h
25845f
@@ -44,15 +44,15 @@ typedef long double double_t;	/* `double' expressions are evaluated as
25845f
 
25845f
 /* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
25845f
    builtins are supported.  */
25845f
-# if __FP_FAST_FMA
25845f
+# ifdef __FP_FAST_FMA
25845f
 #  define FP_FAST_FMA 1
25845f
 # endif
25845f
 
25845f
-# if __FP_FAST_FMAF
25845f
+# ifdef __FP_FAST_FMAF
25845f
 #  define FP_FAST_FMAF 1
25845f
 # endif
25845f
 
25845f
-# if __FP_FAST_FMAL
25845f
+# ifdef __FP_FAST_FMAL
25845f
 #  define FP_FAST_FMAL 1
25845f
 # endif
25845f