This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
amigaos4: use my_popen from amigaos.c
authorAndy Broad <andy@broad.ology.org.uk>
Sat, 22 Aug 2015 13:24:56 +0000 (09:24 -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 cb7a5af..f401042 100644 (file)
--- a/util.c
+++ b/util.c
@@ -2484,8 +2484,8 @@ Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args)
 #endif
 }
 
-    /* VMS' my_popen() is in VMS.c, same with OS/2. */
-#if (!defined(DOSISH) || defined(HAS_FORK) || defined(AMIGAOS)) && !defined(VMS) && !defined(__LIBCATAMOUNT__)
+    /* VMS' my_popen() is in VMS.c, same with OS/2 and AmigaOS 4. */
+#if (!defined(DOSISH) || defined(HAS_FORK)) && !defined(VMS) && !defined(__LIBCATAMOUNT__) && !defined(__amigaos4__)
 PerlIO *
 Perl_my_popen(pTHX_ const char *cmd, const char *mode)
 {