MacOSX fix that never got applied before.
This commit is contained in:
@@ -21,11 +21,12 @@
|
|||||||
// #include <stdio.h>
|
// #include <stdio.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
// #if defined (__APPLE__)
|
#if defined (__APPLE__)
|
||||||
// // any C++ header file undefines isinf and isnan
|
// any C++ header file undefines isinf and isnan
|
||||||
// // so this should be included before <iostream>
|
// so this should be included before <iostream>
|
||||||
// inline int (isnan)(double r) { return isnan(r); }
|
inline int (isinf)(double r) { return isinf(r); }
|
||||||
// #endif
|
inline int (isnan)(double r) { return isnan(r); }
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__MINGW32__)
|
#if defined(__MINGW32__)
|
||||||
#define isnan(x) _isnan(x)
|
#define isnan(x) _isnan(x)
|
||||||
|
|||||||
Reference in New Issue
Block a user