about summary refs log tree commit diff
path: root/sysdeps/powerpc/nofpu/fenv_libc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/nofpu/fenv_libc.h')
-rw-r--r--sysdeps/powerpc/nofpu/fenv_libc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/powerpc/nofpu/fenv_libc.h b/sysdeps/powerpc/nofpu/fenv_libc.h
index 14a2d04a25..a0b6b910cd 100644
--- a/sysdeps/powerpc/nofpu/fenv_libc.h
+++ b/sysdeps/powerpc/nofpu/fenv_libc.h
@@ -25,4 +25,7 @@
 
 #include <fenv.h>
 
+/* ldbl-128ibm code uses __fegetround.  */
+#define __fegetround()	fegetround ()
+
 #endif /* fenv_libc.h */