mirror of https://gitee.com/openkylin/qemu.git
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
This commit is contained in:
parent
af661ad11b
commit
4b70269e1c
|
@ -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 {\
|
||||
|
|
Loading…
Reference in New Issue