aboutsummaryrefslogtreecommitdiff
path: root/fpu
diff options
context:
space:
mode:
Diffstat (limited to 'fpu')
-rw-r--r--fpu/softfloat-native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpu/softfloat-native.c b/fpu/softfloat-native.c
index 7273ae5b4f..9eba03540b 100644
--- a/fpu/softfloat-native.c
+++ b/fpu/softfloat-native.c
@@ -51,7 +51,7 @@ ldexpl(long double x, int n) {
#endif
#endif
-#if defined(__powerpc__)
+#if defined(_ARCH_PPC)
/* correct (but slow) PowerPC rint() (glibc version is incorrect) */
double qemu_rint(double x)