Fix a compilation error when using '-std=c++11'
This commit is contained in:
parent
d69daab39f
commit
567a854377
1 changed files with 4 additions and 4 deletions
|
|
@ -30,14 +30,14 @@
|
|||
#include <float.h>
|
||||
#define isnan(x) _isnan(x)
|
||||
#define finite(x) _finite(x)
|
||||
#elif defined(USE_STD_ISNAN)
|
||||
// From C++11
|
||||
using std::isnan;
|
||||
#define finite(x) std::isfinite(x)
|
||||
#elif defined(USE_GLOBAL_ISNAN)
|
||||
// From C99
|
||||
using ::isnan;
|
||||
using ::finite;
|
||||
#elif defined(USE_STD_ISNAN)
|
||||
// From C++11
|
||||
using std::isnan;
|
||||
#define finite(x) std::isfinite(x)
|
||||
#endif
|
||||
|
||||
namespace Cantera {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue