This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX.xs is PERL_EXT
authorKarl Williamson <khw@cpan.org>
Thu, 9 Nov 2017 03:31:50 +0000 (20:31 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 9 Nov 2017 03:35:21 +0000 (20:35 -0700)
Specifying so automatically gets the reentrant versions of various libc
functions in threaded perls, lowering race condition odds.

ext/POSIX/POSIX.xs

index 047a84f..cf27c12 100644 (file)
@@ -1,4 +1,5 @@
 #define PERL_EXT_POSIX
+#define PERL_EXT
 
 #ifdef NETWARE
        #define _POSIX_