From: Jarkko Hietaniemi Date: Fri, 17 Aug 2001 02:33:00 +0000 (+0000) Subject: It seems that Tru64 has "naturally" threadsafe APIs only for X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ba72df33a6d753cf825ef36afa1582ae97353a47;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/perl.h b/perl.h index f4629f8..1ff9d32 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