diff options
Diffstat (limited to 'lib/libc/powerpc/gen/fpgetround.c')
-rw-r--r-- | lib/libc/powerpc/gen/fpgetround.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/powerpc/gen/fpgetround.c b/lib/libc/powerpc/gen/fpgetround.c index 2e4b922..5381378 100644 --- a/lib/libc/powerpc/gen/fpgetround.c +++ b/lib/libc/powerpc/gen/fpgetround.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <ieeefp.h> +#ifndef _SOFT_FLOAT fp_rnd_t fpgetround() { @@ -51,3 +52,4 @@ fpgetround() __asm__("mffs %0" : "=f"(fpscr)); return ((fp_rnd_t)(fpscr & 0x3)); } +#endif |