summaryrefslogtreecommitdiffstats
path: root/lib/libc/powerpc/gen/fpsetmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/powerpc/gen/fpsetmask.c')
-rw-r--r--lib/libc/powerpc/gen/fpsetmask.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/powerpc/gen/fpsetmask.c b/lib/libc/powerpc/gen/fpsetmask.c
index 76a6867..e1433a5 100644
--- a/lib/libc/powerpc/gen/fpsetmask.c
+++ b/lib/libc/powerpc/gen/fpsetmask.c
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <ieeefp.h>
+#ifndef _SOFT_FLOAT
fp_except_t
fpsetmask(fp_except_t mask)
{
@@ -55,3 +56,4 @@ fpsetmask(fp_except_t mask)
__asm__ __volatile("mtfsf 0xff,%0" :: "f"(fpscr));
return (old);
}
+#endif
OpenPOWER on IntegriCloud