diff options
author | Thomas Munro | 2024-11-27 09:34:03 +0000 |
---|---|---|
committer | Thomas Munro | 2024-11-27 10:12:19 +0000 |
commit | f1da075d9a0373c08af32e31dcbf0809ae4aec2f (patch) | |
tree | 44d661b23b3795c5763ead455b58be4a010fe8ec /src/include | |
parent | 63e10988f8705cc56ac242fa21ec42dd87e99cbf (diff) |
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 'src/include')
-rw-r--r-- | src/include/pg_config.h.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 40e4b2e3816..6e25afc58fd 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -529,9 +529,6 @@ /* Define to 1 if your compiler understands __builtin_unreachable. */ #undef HAVE__BUILTIN_UNREACHABLE -/* Define to 1 if you have the `_configthreadlocale' function. */ -#undef HAVE__CONFIGTHREADLOCALE - /* Define to 1 if you have __cpuid. */ #undef HAVE__CPUID |