qemu-0.7.0 Solaris Host patch (Real)
Quoted 5 lines
This is in
fenv.h, and so are all the other macros that are left undefined. Not sure how we fix this, other than pick up some of these defines manually.
Use <ieeefp.h> [fpsetround(), fpgetround()] on Solaris, instead of <fenv.h> [fegetround(), fesetround()] ?
One of the BSDs already does this (see fpu/softfloat-native.h):
#if defined(_BSD) && !defined(__APPLE__)
#include <ieeefp.h>
#else
#include <fenv.h>
#endif
...