diff options
author | Thomas Munro <tmunro@postgresql.org> | 2024-11-27 22:34:03 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2024-11-27 23:12:19 +1300 |
commit | f1da075d9a0373c08af32e31dcbf0809ae4aec2f (patch) | |
tree | 44d661b23b3795c5763ead455b58be4a010fe8ec /configure.ac | |
parent | 63e10988f8705cc56ac242fa21ec42dd87e99cbf (diff) | |
download | postgresql-f1da075d9a0373c08af32e31dcbf0809ae4aec2f.tar.gz postgresql-f1da075d9a0373c08af32e31dcbf0809ae4aec2f.zip |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4f56bb5062e..8c3367bd545 100644 --- a/configure.ac +++ b/configure.ac @@ -1820,7 +1820,6 @@ fi # Win32 (really MinGW) support if test "$PORTNAME" = "win32"; then - AC_CHECK_FUNCS(_configthreadlocale) AC_LIBOBJ(dirmod) AC_LIBOBJ(kill) AC_LIBOBJ(open) |