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

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