aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-18 07:22:36 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-21 17:28:43 +0530
commitfdf4534d02483af279deddfd23cb61f6079dd277 (patch)
tree852922e5d207118808515f0c1c994d59968d5418 /sysdeps/x86
parent6f23d0939e9651d8ac3c77a835fb6464b35a1dc4 (diff)
downloadglibc-fdf4534d02483af279deddfd23cb61f6079dd277.tar
glibc-fdf4534d02483af279deddfd23cb61f6079dd277.tar.gz
glibc-fdf4534d02483af279deddfd23cb61f6079dd277.tar.bz2
glibc-fdf4534d02483af279deddfd23cb61f6079dd277.zip
Fix -Wundef warnins for __FP_FAST_FMA*
The macros are defined by the compiler, so we can only verify whether they are defined or not.
Diffstat (limited to 'sysdeps/x86')
-rw-r--r--sysdeps/x86/bits/mathdef.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/x86/bits/mathdef.h b/sysdeps/x86/bits/mathdef.h
index 07c2d66b03..fd9cf42af0 100644
--- a/sysdeps/x86/bits/mathdef.h
+++ b/sysdeps/x86/bits/mathdef.h
@@ -44,15 +44,15 @@ typedef long double double_t; /* `double' expressions are evaluated as
/* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
builtins are supported. */
-# if __FP_FAST_FMA
+# ifdef __FP_FAST_FMA
# define FP_FAST_FMA 1
# endif
-# if __FP_FAST_FMAF
+# ifdef __FP_FAST_FMAF
# define FP_FAST_FMAF 1
# endif
-# if __FP_FAST_FMAL
+# ifdef __FP_FAST_FMAL
# define FP_FAST_FMAL 1
# endif