summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-11-08 20:31:50 -0700
committerKarl Williamson <khw@cpan.org>2017-11-08 20:35:21 -0700
commit755599dacf0896e06380d44bf5f7dd624678415a (patch)
tree9318bd0e62d2ba59d716655ebd31d8ba180fba5f /ext
parentd8fb0a68932bdb9b3896fb7811a6a5aff0a8d5b8 (diff)
downloadperl-755599dacf0896e06380d44bf5f7dd624678415a.tar.gz
POSIX.xs is PERL_EXT
Specifying so automatically gets the reentrant versions of various libc functions in threaded perls, lowering race condition odds.
Diffstat (limited to 'ext')
-rw-r--r--ext/POSIX/POSIX.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 047a84f61d..cf27c12dd0 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -1,4 +1,5 @@
#define PERL_EXT_POSIX
+#define PERL_EXT
#ifdef NETWARE
#define _POSIX_