mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +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
4
configure
vendored
4
configure
vendored
|
@ -15066,7 +15066,7 @@ fi
|
|||
LIBS_SAVE=$LIBS
|
||||
LIBS="$LIBS $LIBM"
|
||||
|
||||
for ac_func in acosh asinh atanh copysign erf erfc expm1 finite gamma
|
||||
for ac_func in acosh asinh atanh erf erfc expm1 finite gamma
|
||||
do :
|
||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||
|
@ -15078,7 +15078,7 @@ _ACEOF
|
|||
fi
|
||||
done
|
||||
|
||||
for ac_func in hypot lgamma log1p log2 round tgamma
|
||||
for ac_func in lgamma log1p log2 tgamma
|
||||
do :
|
||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue