Skip to contentSkip to conversation

compiler error in freebsd 5.4

Qemu-devel shen jinti 1 participant 1 message Nov 23, 2005

lore
Share & tools
lore

shen jinti

author
#0 lore raw

hi guys,

In my os (FreeBSD 5.4) , doesn't defined some MACRO (FE_RM..) so, i hope can help you with this patch. ;)

jinti@heaven:~/source/qemu-0.7.2/fpu $diff -u softfloat-native.h softfloat-native.h~

softfloat-native.h~ Sun Sep 4 17:11:31 2005 renamed from softfloat-native.h Wed Nov 23 12:18:01 2005 +3 -3
@@ -36,9 +36,9 @@
 #if defined(_BSD) && !defined(__APPLE__)
 enum {
     float_round_nearest_even = FP_RN,
-    float_round_down         = FP_RM,
-    float_round_up           = FP_RP,
-    float_round_to_zero      = FP_RZ
+    float_round_down         = FE_RM,
+    float_round_up           = FE_RP,
+    float_round_to_zero      = FE_RZ
 };
 #elif defined(__arm__)
 enum {

Sincerely,
jinti

Signature · 1 line
Heaven(Powered By FreeBSD).