aboutsummaryrefslogtreecommitdiff
path: root/math/bits/cmathcalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/bits/cmathcalls.h')
-rw-r--r--math/bits/cmathcalls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/bits/cmathcalls.h b/math/bits/cmathcalls.h
index db7f69c72e..9c7fdbe9e3 100644
--- a/math/bits/cmathcalls.h
+++ b/math/bits/cmathcalls.h
@@ -132,7 +132,8 @@ __MATHDECL (_Mdouble_,creal, (_Mdouble_complex_ __z));
/* Now some optimized versions. GCC has handy notations for these
functions. Recent GCC handles these as builtin functions so does
not need inlines. */
-#if defined __GNUC__ && !__GNUC_PREREQ (2, 97) && defined __OPTIMIZE__
+#if defined __GNUC__ && !__GNUC_PREREQ (2, 97) && defined __OPTIMIZE__ \
+ && defined __extern_inline
/* Imaginary part of Z. */
__extern_inline _Mdouble_