diff options
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r-- | src/mpfr-impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h index fbf481996..36b8234ff 100644 --- a/src/mpfr-impl.h +++ b/src/mpfr-impl.h @@ -163,9 +163,9 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #endif #if __MPFR_GNUC(3,0) || __MPFR_ICC(8,1,0) -# define MPFR_CONST_ATTR __attribute__ ((const)) +# define MPFR_CONST_FUNCTION_ATTR __attribute__ ((const)) #else -# define MPFR_CONST_ATTR +# define MPFR_CONST_FUNCTION_ATTR #endif #if __MPFR_GNUC(3,0) || __MPFR_ICC(8,1,0) @@ -787,7 +787,7 @@ static double double_zero = 0.0; external function, hoping that the compiler will not optimize. */ # ifdef volatile __MPFR_DECLSPEC long double - __gmpfr_longdouble_volatile (long double) MPFR_CONST_ATTR; + __gmpfr_longdouble_volatile (long double) MPFR_CONST_FUNCTION_ATTR; # define LONGDOUBLE_VOLATILE(x) (__gmpfr_longdouble_volatile (x)) # define WANT_GMPFR_LONGDOUBLE_VOLATILE 1 # else |