Do not define hypot to _hypot
Our MinGW already have the standard hypot. This #define is not
necessary.
Upstream change:
https://github.com/python/cpython/pull/880/commits/54ca57196f660cec201839159a6c72e5ff0e047b
Change-Id: I282b123543b19393ec551d3c5eb14347d2e6d241
diff --git a/x64/Include/pyconfig.h b/x64/Include/pyconfig.h
index a49ce69..5975af6 100755
--- a/x64/Include/pyconfig.h
+++ b/x64/Include/pyconfig.h
@@ -218,11 +218,6 @@
#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 */
/* define some ANSI types that are not defined in earlier Win headers */
@@ -274,7 +269,6 @@
#endif
#define COMPILER "[gcc]"
-#define hypot _hypot
#define PY_LONG_LONG long long
#define PY_LLONG_MIN LLONG_MIN
#define PY_LLONG_MAX LLONG_MAX
diff --git a/x86/Include/pyconfig.h b/x86/Include/pyconfig.h
index a49ce69..5975af6 100755
--- a/x86/Include/pyconfig.h
+++ b/x86/Include/pyconfig.h
@@ -218,11 +218,6 @@
#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 */
/* define some ANSI types that are not defined in earlier Win headers */
@@ -274,7 +269,6 @@
#endif
#define COMPILER "[gcc]"
-#define hypot _hypot
#define PY_LONG_LONG long long
#define PY_LLONG_MIN LLONG_MIN
#define PY_LLONG_MAX LLONG_MAX