1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00

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.
This commit is contained in:
Siddhesh Poyarekar
2014-03-18 07:22:36 +05:30
parent 6f23d0939e
commit fdf4534d02
5 changed files with 22 additions and 12 deletions

View File

@@ -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