summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-26 08:31:20 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-26 08:31:20 +0000
commitca0c25f67f45e5dccb746852d8545d7ae29ed067 (patch)
treeb2f03bfd692f36b26f7a9d5f337c55578d3340c1 /perl.h
parent6ac6a52b90121db9304782c76ae9243ce4205369 (diff)
downloadperl-ca0c25f67f45e5dccb746852d8545d7ae29ed067.tar.gz
Most platforms don't actually need PL_pidstatus, or the associated
.5K of code. p4raw-id: //depot/perl@25850
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index d6ccfa470a..d302252ec1 100644
--- a/perl.h
+++ b/perl.h
@@ -815,6 +815,10 @@ int usleep(unsigned int);
#define PERL_DONT_CREATE_GVSV
#endif
+#if !defined(HAS_WAITPID) && !defined(HAS_WAIT4) || defined(HAS_WAITPID_RUNTIME)
+#define PERL_USES_PL_PIDSTATUS
+#endif
+
/* Cannot include embed.h here on Win32 as win32.h has not
yet been included and defines some config variables e.g. HAVE_INTERP_INTERN
*/