Commit 4b70269e1c1f4ad7470602b31aa1ca3d1da7e2bd

Authored by ths
1 parent af661ad1

Fix helper.c with isinf on Solaris 9/Sparc, by Ben Taylor.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2698 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 5 additions and 0 deletions
target-i386/helper.c
... ... @@ -21,6 +21,11 @@
21 21  
22 22 //#define DEBUG_PCALL
23 23  
  24 +#if defined(__sparc__) && (HOST_SOLARIS < 10)
  25 +#include <ieeefp.h>
  26 +#define isinf(x) (fpclass(x) == FP_NINF || fpclass(x) == FP_PINF)
  27 +#endif
  28 +
24 29 #if 0
25 30 #define raise_exception_err(a, b)\
26 31 do {\
... ...