mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Remove fallbacks for strtoll, strtoull.
strtoll was backfilled with either __strtoll or strtoq on systems without strtoll. The last such system on the buildfarm was an ancient HP-UX animal. We don't support HP-UX anymore, so remove. On other systems strtoll was present, but did not have a declaration. The last known instance on the buildfarm was running an ancient OSX and shut down in 2019. Author: Andres Freund <andres@anarazel.de> Reviewed-by: Thomas Munro <thomas.munro@gmail.com> Discussion: https://postgr.es/m/20220804013546.h65najrzig764jar@awork3.anarazel.de
This commit is contained in:
@ -1981,11 +1981,6 @@ if test x"$pgac_cv_var_int_optreset" = x"yes"; then
|
||||
AC_DEFINE(HAVE_INT_OPTRESET, 1, [Define to 1 if you have the global variable 'int optreset'.])
|
||||
fi
|
||||
|
||||
AC_CHECK_FUNCS([strtoll __strtoll strtoq], [break])
|
||||
AC_CHECK_FUNCS([strtoull __strtoull strtouq], [break])
|
||||
# strto[u]ll may exist but not be declared
|
||||
AC_CHECK_DECLS([strtoll, strtoull])
|
||||
|
||||
if test "$with_icu" = yes; then
|
||||
ac_save_CPPFLAGS=$CPPFLAGS
|
||||
CPPFLAGS="$ICU_CFLAGS $CPPFLAGS"
|
||||
|
Reference in New Issue
Block a user