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

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