| From 2980d42e1b6164dddc62e78edaac8b99ccf8f83f Mon Sep 17 00:00:00 2001 |
| From: Alexpux <alexey.pawlow@gmail.com> |
| Date: Wed, 19 Nov 2014 09:20:35 +0300 |
| Subject: [PATCH 04/27] mingw-w64 have isinf |
| |
| --- |
| src/common/classes/FpeControl.h | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/src/common/classes/FpeControl.h b/src/common/classes/FpeControl.h |
| index e0e36acafa..ecc334b805 100644 |
| --- a/src/common/classes/FpeControl.h |
| +++ b/src/common/classes/FpeControl.h |
| @@ -217,11 +217,11 @@ private: |
| |
| |
| // getting a portable isinf() is harder than you would expect |
| -#ifdef WIN_NT |
| +#if defined(_MSC_VER) |
| inline bool isinf(double x) |
| { |
| return (!_finite (x) && !isnan(x)); |
| } |
| -#endif // WIN_NT |
| +#endif // _MSC_VER |
| |
| #endif //CLASSES_FPE_CONTROL_H |
| -- |
| 2.13.0 |
| |