fix a gcc version test
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@
|
|||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
# ifdef __GNUC__
|
# ifdef __GNUC__
|
||||||
# if ( __GNUC__ >= 3 ) && ( __GNUC_MINOR__ >= 3 )
|
# if ( __GNUC__ > 3 ) || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 3 )
|
||||||
inline int (isnan)(double r) { return !(r <= 0 || r >= 0); }
|
inline int (isnan)(double r) { return !(r <= 0 || r >= 0); }
|
||||||
# else
|
# else
|
||||||
// any C++ header file undefines isinf and isnan
|
// any C++ header file undefines isinf and isnan
|
||||||
|
|||||||
Reference in New Issue
Block a user