diff options
Diffstat (limited to 'src/isinf.h')
| -rw-r--r-- | src/isinf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/isinf.h b/src/isinf.h index 7799d2876..b4c56f79d 100644 --- a/src/isinf.h +++ b/src/isinf.h @@ -12,6 +12,9 @@ #elif defined(__APPLE__) && __GNUC__ == 3 #define isinf(x) __isinf(x) +#elif __cplusplus >= 201103L +# include <cmath> +# define isinf std::isinf #endif #endif /* __ISINF_H__ */ |
