mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
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.
This commit is contained in:
parent
51f8196d05
commit
00ffc4513d
8 changed files with 9 additions and 90 deletions
|
@ -4675,8 +4675,8 @@ fi
|
|||
LIBS_SAVE=$LIBS
|
||||
LIBS="$LIBS $LIBM"
|
||||
|
||||
AC_CHECK_FUNCS([acosh asinh atanh copysign erf erfc expm1 finite gamma])
|
||||
AC_CHECK_FUNCS([hypot lgamma log1p log2 round tgamma])
|
||||
AC_CHECK_FUNCS([acosh asinh atanh erf erfc expm1 finite gamma])
|
||||
AC_CHECK_FUNCS([lgamma log1p log2 tgamma])
|
||||
|
||||
# For multiprocessing module, check that sem_open
|
||||
# actually works. For FreeBSD versions <= 7.2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue