Fix OpenSolaris softfloat warnings

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7102 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2009-04-13 16:27:08 +00:00
parent acda94b189
commit 14d483eca0
3 changed files with 5 additions and 1 deletions

1
configure vendored
View File

@ -306,6 +306,7 @@ SunOS)
audio_drv_list="oss"
fi
audio_possible_drivers="oss sdl"
OS_CFLAGS=-std=gnu99
;;
AIX)
aix="yes"

View File

@ -2,6 +2,9 @@
context is supported */
#include "softfloat.h"
#include <math.h>
#if defined(HOST_SOLARIS)
#include <fenv.h>
#endif
void set_float_rounding_mode(int val STATUS_PARAM)
{

View File

@ -20,7 +20,7 @@
* are defined in <iso/math_c99.h> with a compiler directive
*/
#if defined(HOST_SOLARIS) && (( HOST_SOLARIS <= 9 ) || ((HOST_SOLARIS >= 10) \
&& (__GNUC__ <= 4))) \
&& (__GNUC__ < 4))) \
|| (defined(__OpenBSD__) && (OpenBSD < 200811))
/*
* C99 7.12.3 classification macros