From fdf4534d02483af279deddfd23cb61f6079dd277 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 18 Mar 2014 07:22:36 +0530 Subject: 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. --- sysdeps/arm/bits/mathdef.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sysdeps/arm') diff --git a/sysdeps/arm/bits/mathdef.h b/sysdeps/arm/bits/mathdef.h index be727e5b8d..f309002abd 100644 --- a/sysdeps/arm/bits/mathdef.h +++ b/sysdeps/arm/bits/mathdef.h @@ -34,15 +34,15 @@ typedef 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 -- cgit v1.2.3