summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-08-17 02:33:00 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-08-17 02:33:00 +0000
commitba72df33a6d753cf825ef36afa1582ae97353a47 (patch)
tree59b5b3dfee8fce1de85b3964617cff6cfdcb8d22 /perl.h
parentb18be6fc18da1e92665403845106abd15cd1cd1d (diff)
downloadperl-ba72df33a6d753cf825ef36afa1582ae97353a47.tar.gz
It seems that Tru64 has "naturally" threadsafe APIs only for
of the usual suspects (like getpwent) but not for others (like localtime and rand). The _r versions are available for all of them, so let's use them. p4raw-id: //depot/perl@11699
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl.h b/perl.h
index f4629f8138..1ff9d32eda 100644
--- a/perl.h
+++ b/perl.h
@@ -443,10 +443,10 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER));
# define USE_REENTRANT_API
#endif
-/* Tru64/Digital UNIX/DEC OSF/1 and Win32 have naturally
- * threadsafe libraries, no need to use any _r variants. */
+/* Win32 has naturally threadsafe libraries,
+ * no need to use any _r variants. */
#ifdef USE_REENTRANT_API
-# if (defined(__osf__) && defined(__alpha)) || defined(WIN32)
+# ifdef WIN32
# undef USE_REEENTRANT_API
# endif
#endif