mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Check that HOST_SOLARIS is defined before relying on its value.
Spotted by Joachim Henke. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2712 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a68156d016
commit
fc81ba536b
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
* Solaris 10 with GCC4 does not need these macros as they
|
||||
* are defined in <iso/math_c99.h> with a compiler directive
|
||||
*/
|
||||
#if defined(HOST_SOLARIS) && (( HOST_SOLARIS <= 9 ) || ( ( HOST_SOLARIS >= 10 ) && ( __GNUC__ <= 4) ))
|
||||
#if defined(HOST_SOLARIS) && (( HOST_SOLARIS <= 9 ) || ((HOST_SOLARIS >= 10) && (__GNUC__ <= 4)))
|
||||
/*
|
||||
* C99 7.12.3 classification macros
|
||||
* and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue