This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2615a78
)
USE_THREADS and USE_ITHREADS are never true at the same time
author
Artur Bergman
<sky@nanisky.com>
Sat, 18 Aug 2001 11:45:16 +0000
(11:45 +0000)
committer
Artur Bergman
<sky@nanisky.com>
Sat, 18 Aug 2001 11:45:16 +0000
(11:45 +0000)
p4raw-id: //depot/perl@11715
perl.h
patch
|
blob
|
blame
|
history
diff --git
a/perl.h
b/perl.h
index
36b1939
..
08dbd2a
100644
(file)
--- 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