summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut2003-11-24 13:11:27 +0000
committerPeter Eisentraut2003-11-24 13:11:27 +0000
commit83ab17e051b7f7cbbcf7b54a74ebc8fcc08cdc69 (patch)
treef453cce8ef6afa69a81edcfd0bf53da1ccbfb2b5 /src/include
parenta62f62d78b3c11a7da90d0bc31ec4c7d4126d46e (diff)
Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.
Fixes compliation failure with --enable-thread-safety --with-perl and Perl 5.6.1.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pg_config.h.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in
index cce536adb2d..b53fed22572 100644
--- a/src/include/pg_config.h.in
+++ b/src/include/pg_config.h.in
@@ -39,6 +39,10 @@
/* Define to 1 if you want National Language Support. (--enable-nls) */
#undef ENABLE_NLS
+/* Define to 1 to build client libraries as thread-safe code.
+ (--enable-thread-safety) */
+#undef ENABLE_THREAD_SAFETY
+
/* Define to 1 if gettimeofday() takes only 1 argument. */
#undef GETTIMEOFDAY_1ARG
@@ -609,10 +613,6 @@
/* Define to select SysV-style shared memory. */
#undef USE_SYSV_SHARED_MEMORY
-/* Define to 1 to build client libraries as thread-safe code.
- (--enable-thread-safety) */
-#undef USE_THREADS
-
/* Define to select unnamed POSIX semaphores. */
#undef USE_UNNAMED_POSIX_SEMAPHORES