summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-08-18 11:45:16 +0000
committerArtur Bergman <sky@nanisky.com>2001-08-18 11:45:16 +0000
commit2483eea46d949f758e55f56d3610ffb2acf87711 (patch)
tree5f1caf9e6663eb70dabfb30fec8683003351db8f /perl.h
parent2615a7822b1e45b2a41b9663aba536ad46262534 (diff)
downloadperl-2483eea46d949f758e55f56d3610ffb2acf87711.tar.gz
USE_THREADS and USE_ITHREADS are never true at the same time
p4raw-id: //depot/perl@11715
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 36b19394bc..08dbd2a22b 100644
--- a/perl.h
+++ b/perl.h
@@ -439,7 +439,7 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER));
#endif
/* Use the reentrant APIs like localtime_r and getpwent_r */
-#if defined(USE_THREADS) && defined(USE_ITHREADS) && !defined(USE_REENTRANT_API)
+#if (defined(USE_THREADS) || defined(USE_ITHREADS)) && !defined(USE_REENTRANT_API)
# define USE_REENTRANT_API
#endif