aboutsummaryrefslogtreecommitdiff
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-15 19:45:34 +0200
committerGitHub <noreply@github.com>2021-10-15 19:45:34 +0200
commit00ffc4513df7b89a168e88da4d1e3ac367f7682f (patch)
treee3b57e2fe5eab5bf559fe850a3a8ed070da2d3c0 /PC/pyconfig.h
parent51f8196d05f0e271358eee0f90fe044b20449fb5 (diff)
downloadcpython3-00ffc4513df7b89a168e88da4d1e3ac367f7682f.tar.gz
bpo-45440: Remove pymath.c fallbacks (GH-28977)
Remove fallbacks for missing round(), copysign() and hypot() in Python/pymath.c. Python now requires these functions to build. These fallbacks were needed on Visual Studio 2012 and older. They are no longer needed since Visual Stuido 2013. Python is now built with Visual Studio 2017 or newer since Python 3.6.
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 7539777228..bb55ff4fe1 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -58,7 +58,6 @@ WIN32 is still required for the locale module.
#include <io.h>
-#define HAVE_HYPOT
#define HAVE_STRFTIME
#define DONT_HAVE_SIG_ALARM
#define DONT_HAVE_SIG_PAUSE
@@ -348,14 +347,6 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* Fairly standard from here! */
-/* Define to 1 if you have the `copysign' function. */
-#define HAVE_COPYSIGN 1
-
-/* Define to 1 if you have the `round' function. */
-#if _MSC_VER >= 1800
-# define HAVE_ROUND 1
-#endif
-
/* Define if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */