diff options
Diffstat (limited to 'PC')
| -rw-r--r-- | PC/pyconfig.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 495d90cfbf..4d1872ce0b 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -118,6 +118,10 @@ MS_CORE_DLL. typedef int pid_t; #define hypot _hypot +#include <float.h> +#define Py_IS_NAN _isnan +#define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X)) + #endif /* _MSC_VER */ /* define some ANSI types that are not defined in earlier Win headers */ |
