aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu/bits/fenvinline.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/fenvinline.h
parentcfa8054fbb6212e64d54a3d4926972a6a20e3498 (diff)
downloadglibc-59981e9b0df84aa91c52d21c54a7ed158a356aaa.tar
glibc-59981e9b0df84aa91c52d21c54a7ed158a356aaa.tar.gz
glibc-59981e9b0df84aa91c52d21c54a7ed158a356aaa.tar.bz2
glibc-59981e9b0df84aa91c52d21c54a7ed158a356aaa.zip
Adapt installed powerpc headers better for soft-float / no-FPRs.
Diffstat (limited to 'sysdeps/powerpc/fpu/bits/fenvinline.h')
-rw-r--r--sysdeps/powerpc/fpu/bits/fenvinline.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/powerpc/fpu/bits/fenvinline.h b/sysdeps/powerpc/fpu/bits/fenvinline.h
index 44b4d44f4c..0720795d54 100644
--- a/sysdeps/powerpc/fpu/bits/fenvinline.h
+++ b/sysdeps/powerpc/fpu/bits/fenvinline.h
@@ -16,7 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#if defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_MATH_INLINES
+#if (defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_FPRS__ \
+ && !defined __NO_MATH_INLINES)
/* Inline definition for fegetround. */
# define fegetround() \
@@ -56,4 +57,4 @@
: 0) \
: (feclearexcept) (__excepts))
-#endif /* __GNUC__ && !_SOFT_FLOAT */
+#endif /* __GNUC__ && !_SOFT_FLOAT && !__NO_FPRS__ */