projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af661ad
)
Fix helper.c with isinf on Solaris 9/Sparc, by Ben Taylor.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 17 Apr 2007 23:25:06 +0000
(23:25 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 17 Apr 2007 23:25:06 +0000
(23:25 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2698
c046a42c
-6fe2-441c-8c8c-
71466251a162
target-i386/helper.c
patch
|
blob
|
history
diff --git
a/target-i386/helper.c
b/target-i386/helper.c
index
4656596
..
968d399
100644
(file)
--- a/
target-i386/helper.c
+++ b/
target-i386/helper.c
@@
-21,6
+21,11
@@
//#define DEBUG_PCALL
+#if defined(__sparc__) && (HOST_SOLARIS < 10)
+#include <ieeefp.h>
+#define isinf(x) (fpclass(x) == FP_NINF || fpclass(x) == FP_PINF)
+#endif
+
#if 0
#define raise_exception_err(a, b)\
do {\