aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-02-11 17:29:01 +0000
committerBruce Momjian <bruce@momjian.us>2004-02-11 17:29:01 +0000
commit15b330b648553627230a11adce304103a55e0b62 (patch)
treeffe1e76023e3a95bbe266c1a0ddf1e8d4540ad35 /src
parentac4ad7bf2cba435cf6301d3f6317d604dad920a0 (diff)
downloadpostgresql-15b330b648553627230a11adce304103a55e0b62.tar.gz
postgresql-15b330b648553627230a11adce304103a55e0b62.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 3b3cc095410..3b7526f3796 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