diff options
Diffstat (limited to 'lib/libc/powerpc/gen/fpsetround.c')
-rw-r--r-- | lib/libc/powerpc/gen/fpsetround.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/powerpc/gen/fpsetround.c b/lib/libc/powerpc/gen/fpsetround.c index 1337756..b4f00d4 100644 --- a/lib/libc/powerpc/gen/fpsetround.c +++ b/lib/libc/powerpc/gen/fpsetround.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <ieeefp.h> +#ifndef _SOFT_FLOAT fp_rnd_t fpsetround(fp_rnd_t rnd_dir) { @@ -55,3 +56,4 @@ fpsetround(fp_rnd_t rnd_dir) __asm__ __volatile("mtfsf 0xff,%0" :: "f"(fpscr)); return (old); } +#endif |