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 a45d5eb..a49ce69 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -217,7 +217,11 @@ typedef int pid_t; #define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X)) #define Py_IS_FINITE(X) _finite(X) #define copysign _copysign + +/* VS 2010 and above already defines hypot as _hypot */ +#if _MSC_VER < 1600 #define hypot _hypot +#endif #endif /* _MSC_VER */ |