about summary refs log tree commit diff
path: root/sysdeps/sparc/fpu/bits/mathinline.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/fpu/bits/mathinline.h')
-rw-r--r--sysdeps/sparc/fpu/bits/mathinline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/sparc/fpu/bits/mathinline.h b/sysdeps/sparc/fpu/bits/mathinline.h
index 16ad22e666..d3ff44c5a9 100644
--- a/sysdeps/sparc/fpu/bits/mathinline.h
+++ b/sysdeps/sparc/fpu/bits/mathinline.h
@@ -128,7 +128,7 @@
 
 #if (!defined __NO_MATH_INLINES || defined __LIBC_INTERNAL_MATH_INLINES) && defined __OPTIMIZE__
 
-# ifdef __cplusplus
+# ifndef __extern_inline
 #  define __MATH_INLINE __inline
 # else
 #  define __MATH_INLINE __extern_inline