openbsd-ports/emulators/qemu/patches/patch-fpu_softfloat-native_h
martynas 3bfabf618f remove. math has isnormal, isgreater, isgreaterequal, isless,
islessequal, isunordered.  tested by me and sthen@
ok sthen@
2008-07-24 19:00:11 +00:00

16 lines
608 B
Plaintext

$OpenBSD: patch-fpu_softfloat-native_h,v 1.5 2008/07/24 19:00:11 martynas Exp $
--- fpu/softfloat-native.h.orig Sun Jan 6 21:38:42 2008
+++ fpu/softfloat-native.h Thu Jul 24 21:41:56 2008
@@ -84,6 +84,11 @@ typedef union {
| Software IEC/IEEE floating-point rounding mode.
*----------------------------------------------------------------------------*/
#if (defined(_BSD) && !defined(__APPLE__)) || defined(HOST_SOLARIS)
+#if defined(__OpenBSD__)
+#define FE_RM FP_RM
+#define FE_RP FP_RP
+#define FE_RZ FP_RZ
+#endif
enum {
float_round_nearest_even = FP_RN,
float_round_down = FP_RM,