summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu/bits/mathinline.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-01-17 02:08:51 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-01-17 02:08:51 +0000
commit59981e9b0df84aa91c52d21c54a7ed158a356aaa (patch)
treef49bb0bfd1bdaef1f26763b91ecf5760d28d4db4 /sysdeps/powerpc/fpu/bits/mathinline.h
parentcfa8054fbb6212e64d54a3d4926972a6a20e3498 (diff)
Adapt installed powerpc headers better for soft-float / no-FPRs.
Diffstat (limited to 'sysdeps/powerpc/fpu/bits/mathinline.h')
-rw-r--r--sysdeps/powerpc/fpu/bits/mathinline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/fpu/bits/mathinline.h b/sysdeps/powerpc/fpu/bits/mathinline.h
index b0b1a96150..140fff08ef 100644
--- a/sysdeps/powerpc/fpu/bits/mathinline.h
+++ b/sysdeps/powerpc/fpu/bits/mathinline.h
@@ -26,7 +26,7 @@
# define __MATH_INLINE __extern_inline
#endif /* __cplusplus */
-#if defined __GNUC__ && !defined _SOFT_FLOAT
+#if defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_FPRS__
#ifdef __USE_ISOC99
# if !__GNUC_PREREQ (2,97)
@@ -127,4 +127,4 @@ __NTH (fdimf (float __x, float __y))
#endif /* __USE_ISOC99 */
#endif /* !__NO_MATH_INLINES && __OPTIMIZE__ */
-#endif /* __GNUC__ && !_SOFT_FLOAT */
+#endif /* __GNUC__ && !_SOFT_FLOAT && !__NO_FPRS__ */