aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-fbsd
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-fbsd')
-rw-r--r--emulators/qemu-devel/files/patch-fbsd4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/qemu-devel/files/patch-fbsd b/emulators/qemu-devel/files/patch-fbsd
index a8667ae165e5..8a7823279624 100644
--- a/emulators/qemu-devel/files/patch-fbsd
+++ b/emulators/qemu-devel/files/patch-fbsd
@@ -59,8 +59,8 @@ Index: qemu/fpu/softfloat-native.c
-#if defined(_BSD)
+#if defined(_BSD) && !defined(__FreeBSD__)
- #define lrint(d) ((int32_t)rint(d))
- #define llrint(d) ((int64_t)rint(d))
+ #define lrint(d) ((long)rint(d))
+ #define llrint(d) ((long long)rint(d))
#endif
Index: qemu/fpu/softfloat-native.h
@@ -1,7 +1,17 @@