aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-02-11 17:32:09 +0000
committerBruce Momjian <bruce@momjian.us>2004-02-11 17:32:09 +0000
commit29760bbdaf8fee6539ce9d986db9dc7d29bbc080 (patch)
tree0a8770dee0af0e6f0b840d39669fc59e3e1d736d /src
parent18b8cb5a9e870488512b6075ce1beb8dedeacc8b (diff)
downloadpostgresql-29760bbdaf8fee6539ce9d986db9dc7d29bbc080.tar.gz
postgresql-29760bbdaf8fee6539ce9d986db9dc7d29bbc080.zip
Properly set NEED_REENTRANT_FUNCS for threaded libpq/ecpg.
Without this patch, no thread locking or *_r functions were being used.
Diffstat (limited to 'src')
-rw-r--r--src/include/pg_config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in
index b53fed22572..4691b81da32 100644
--- a/src/include/pg_config.h.in
+++ b/src/include/pg_config.h.in
@@ -554,6 +554,9 @@
/* Define as the maximum alignment requirement of any C data type. */
#undef MAXIMUM_ALIGNOF
+/* Define if non *_r libc functions are not thread safe */
+#undef NEED_REENTRANT_FUNCS
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT