summaryrefslogtreecommitdiff
path: root/src/tools/thread/thread_test.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2003-11-24 13:11:27 +0000
committerPeter Eisentraut <peter_e@gmx.net>2003-11-24 13:11:27 +0000
commit83ab17e051b7f7cbbcf7b54a74ebc8fcc08cdc69 (patch)
treef453cce8ef6afa69a81edcfd0bf53da1ccbfb2b5 /src/tools/thread/thread_test.c
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/tools/thread/thread_test.c')
-rw-r--r--src/tools/thread/thread_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/thread/thread_test.c b/src/tools/thread/thread_test.c
index 22d925ebef1..edfb885d054 100644
--- a/src/tools/thread/thread_test.c
+++ b/src/tools/thread/thread_test.c
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Header: /cvsroot/pgsql/src/tools/thread/Attic/thread_test.c,v 1.3 2003/10/24 20:48:10 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/tools/thread/Attic/thread_test.c,v 1.3.2.1 2003/11/24 13:11:27 petere Exp $
*
* This program tests to see if your standard libc functions use
* pthread_setspecific()/pthread_getspecific() to be thread-safe.
@@ -21,7 +21,7 @@
*/
-#ifdef USE_THREADS
+#ifdef ENABLE_THREAD_SAFETY
#include <pthread.h>
#endif
#include <unistd.h>