Commit 80315664 authored by Zachary Ware's avatar Zachary Ware

Issue #20221: Removed conflicting (or circular) hypot definition

when compiled with VS 2010 or above.  Initial patch by Tabrez Mohammed.
parent 47ff6fa6
......@@ -263,6 +263,9 @@ Tests
Build
-----
- Issue #20221: Removed conflicting (or circular) hypot definition when
compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
- Issue #16537: Check whether self.extensions is empty in setup.py. Patch by
Jonathan Hosmer.
......
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment