Remove configure check for _configthreadlocale().

Thomas Munro <tmunro@postgresql.org>

Commit: f1da075d9a0373c08af32e31dcbf0809ae4aec2f
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2024-11-27T10:12:19Z
Releases: 18.0
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

Files

PathChange+/−
configure modified +0 −11
configure.ac modified +0 −1
meson.build modified +0 −1
src/include/pg_config.h.in modified +0 −3
src/interfaces/ecpg/ecpglib/descriptor.c modified +2 −2
src/interfaces/ecpg/ecpglib/ecpglib_extern.h modified +1 −1
src/interfaces/ecpg/ecpglib/execute.c modified +2 −2

Discussion