Remove configure check for _configthreadlocale().
authorThomas Munro <tmunro@postgresql.org>
Wed, 27 Nov 2024 09:34:03 +0000 (22:34 +1300)
committerThomas Munro <tmunro@postgresql.org>
Wed, 27 Nov 2024 10:12:19 +0000 (23:12 +1300)
commitf1da075d9a0373c08af32e31dcbf0809ae4aec2f
tree44d661b23b3795c5763ead455b58be4a010fe8ec
parent63e10988f8705cc56ac242fa21ec42dd87e99cbf
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
configure
configure.ac
meson.build
src/include/pg_config.h.in
src/interfaces/ecpg/ecpglib/descriptor.c
src/interfaces/ecpg/ecpglib/ecpglib_extern.h
src/interfaces/ecpg/ecpglib/execute.c