diff options
Diffstat (limited to 'src/fenv/powerpc64')
-rw-r--r-- | src/fenv/powerpc64/fenv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fenv/powerpc64/fenv.c b/src/fenv/powerpc64/fenv.c index 739420b7..9db0fb6f 100644 --- a/src/fenv/powerpc64/fenv.c +++ b/src/fenv/powerpc64/fenv.c @@ -1,5 +1,6 @@ #define _GNU_SOURCE #include <fenv.h> +#include "libc.h" static inline double get_fpscr_f(void) { @@ -49,7 +50,7 @@ int fegetround(void) return get_fpscr() & 3; } -int __fesetround(int r) +hidden int __fesetround(int r) { set_fpscr(get_fpscr() & ~3L | r); return 0; |