summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
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