Skip to contentSkip to conversation

qemu-0.7.0 Solaris Host patch (Real)

PATCH Juergen Keil 1 participant 1 message May 2, 2005

lore
Share & tools
lore
#0 lore raw
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

...