This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
amigaos4: avoid my_popen_list
authorAndy Broad <andy@broad.ology.org.uk>
Sat, 22 Aug 2015 13:22:45 +0000 (09:22 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 5 Sep 2015 15:12:45 +0000 (11:12 -0400)
util.c

diff --git a/util.c b/util.c
index 5bc3aa5..cb7a5af 100644 (file)
--- a/util.c
+++ b/util.c
@@ -2346,7 +2346,7 @@ vsprintf(char *dest, const char *pat, void *args)
 PerlIO *
 Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args)
 {
-#if (!defined(DOSISH) || defined(HAS_FORK) || defined(AMIGAOS)) && !defined(OS2) && !defined(VMS) && !defined(NETWARE) && !defined(__LIBCATAMOUNT__)
+#if (!defined(DOSISH) || defined(HAS_FORK)) && !defined(OS2) && !defined(VMS) && !defined(NETWARE) && !defined(__LIBCATAMOUNT__) && !defined(__amigaos4__)
     int p[2];
     I32 This, that;
     Pid_t pid;