diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2001-08-23 03:58:58 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2001-08-23 03:58:58 +0000 |
commit | d80aa5594cb0736b9d4bd083ce9a6fa2f0fea457 (patch) | |
tree | a3d4dd6e49722c989bbe9ae88ff23c728fddc5ca /perl.h | |
parent | 58c59f017a313664d409933fe805106d14ebf283 (diff) | |
download | perl-d80aa5594cb0736b9d4bd083ce9a6fa2f0fea457.tar.gz |
fix broken windows build
p4raw-id: //depot/perl@11731
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -439,18 +439,11 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER)); #endif /* Use the reentrant APIs like localtime_r and getpwent_r */ -#if defined(USE_ITHREADS) && !defined(USE_REENTRANT_API) +/* Win32 has naturally threadsafe libraries, no need to use any _r variants. */ +#if defined(USE_ITHREADS) && !defined(USE_REENTRANT_API) && !defined(WIN32) # define USE_REENTRANT_API #endif -/* Win32 has naturally threadsafe libraries, - * no need to use any _r variants. */ -#ifdef USE_REENTRANT_API -# ifdef WIN32 -# undef USE_REEENTRANT_API -# endif -#endif - /* HP-UX 10.X CMA (Common Multithreaded Architecure) insists that pthread.h must be included before all other header files. */ |