diff options
| author | Thomas Munro | 2023-07-11 18:20:37 +0000 |
|---|---|---|
| committer | Thomas Munro | 2023-07-11 20:20:43 +0000 |
| commit | 68a4b58eca032916e2aad78d63f717dcb147e906 (patch) | |
| tree | d944d9ffb794df9d70c6408475f20d20a0580080 /meson.build | |
| parent | 11f36694091c97318e5a2bd28b35ffe9aa1c3b6a (diff) | |
Remove --disable-thread-safety and related code.
All supported computers have either POSIX or Windows threads, and we no
longer have any automated testing of --disable-thread-safety. We define
a vestigial ENABLE_THREAD_SAFETY macro to 1 in ecpg_config.h in case it
is useful, but we no longer test it anywhere in PostgreSQL code, and
associated dead code paths are removed.
The Meson and perl-based Windows build scripts never had an equivalent
build option.
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/CA%2BhUKGLtmexrpMtxBRLCVePqV_dtWG-ZsEbyPrYc%2BNBB2TkNsw%40mail.gmail.com
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/meson.build b/meson.build index 0c44f19cb9c..30473b951a1 100644 --- a/meson.build +++ b/meson.build @@ -2508,17 +2508,6 @@ cdata.set_quoted('PG_VERSION_STR', ) - -############################################################### -# Threading -############################################################### - -# XXX: About to rely on thread safety in the autoconf build, so not worth -# implementing a fallback. -cdata.set('ENABLE_THREAD_SAFETY', 1) - - - ############################################################### # NLS / Gettext ############################################################### |
