mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove configure check for _configthreadlocale().
All modern Windows systems have _configthreadlocale(). It was first introduced in msvcr80.dll from Visual Studio 2005. Historically, MinGW was stuck on even older msvcrt.dll, but added its own dummy implementation of the function when using msvcrt.dll years ago anyway, effectively rendering the configure test useless. In practice we don't encounter the dummy anymore because modern MinGW uses ucrt. Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/CWZBBRR6YA8D.8EHMDRGLCKCD%40neon.tech
This commit is contained in:
11
configure
vendored
11
configure
vendored
@ -15821,17 +15821,6 @@ fi
|
||||
|
||||
# Win32 (really MinGW) support
|
||||
if test "$PORTNAME" = "win32"; then
|
||||
for ac_func in _configthreadlocale
|
||||
do :
|
||||
ac_fn_c_check_func "$LINENO" "_configthreadlocale" "ac_cv_func__configthreadlocale"
|
||||
if test "x$ac_cv_func__configthreadlocale" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE__CONFIGTHREADLOCALE 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
case " $LIBOBJS " in
|
||||
*" dirmod.$ac_objext "* ) ;;
|
||||
*) LIBOBJS="$LIBOBJS dirmod.$ac_objext"
|
||||
|
Reference in New Issue
Block a user