diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-22 17:16:54 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-22 17:16:54 +0000 |
commit | fc81ba536bc3d8cdbcf9e92369e9bc5ede69da10 (patch) | |
tree | 380818ad678bab84408f2e4d00202adc0bebb44f /fpu/softfloat-native.h | |
parent | a68156d016383c2f2fb183080b3f75ce0d32abd1 (diff) | |
download | qemu-fc81ba536bc3d8cdbcf9e92369e9bc5ede69da10.tar.gz qemu-fc81ba536bc3d8cdbcf9e92369e9bc5ede69da10.tar.bz2 qemu-fc81ba536bc3d8cdbcf9e92369e9bc5ede69da10.zip |
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
Diffstat (limited to 'fpu/softfloat-native.h')
-rw-r--r-- | fpu/softfloat-native.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h index 49cff5d894..29777178b3 100644 --- a/fpu/softfloat-native.h +++ b/fpu/softfloat-native.h @@ -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 |