提交 14d483ec 编写于 作者: B blueswir1

Fix OpenSolaris softfloat warnings

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7102 c046a42c-6fe2-441c-8c8c-71466251a162
上级 acda94b1
......@@ -306,6 +306,7 @@ SunOS)
audio_drv_list="oss"
fi
audio_possible_drivers="oss sdl"
OS_CFLAGS=-std=gnu99
;;
AIX)
aix="yes"
......
......@@ -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)
{
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册