summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-30 16:41:02 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-30 16:41:02 +0000
commit15871fce9413472c456f7af6b3953480020578b6 (patch)
treea5e11bdd36d15d7c854f56c55d40f42d8935af57 /perl.h
parent89552e80fce1de87a2720adec023baa6ccc9b702 (diff)
downloadperl-15871fce9413472c456f7af6b3953480020578b6.tar.gz
I infer that change 25891 as-is would break OS2. This should fix it.
p4raw-id: //depot/perl@25899
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index 8427328215..10fcd4b3ae 100644
--- a/perl.h
+++ b/perl.h
@@ -5402,8 +5402,10 @@ extern void moncontrol(int);
/* do_exec is a real function implemented in a platform specific file. */
# define do_exec Perl_do_exec
#endif
-#ifndef OS2
-#define do_aexec(really, mark,sp) do_aexec5(really, mark, sp, 0, 0)
+#ifdef OS2
+# define do_aexec Perl_do_aexec
+#else
+# define do_aexec(really, mark,sp) do_aexec5(really, mark, sp, 0, 0)
#endif
/* and finally... */