summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-11-01 16:38:31 +0000
committerNicholas Clark <nick@ccl4.org>2005-11-01 16:38:31 +0000
commit8c654ff2610478421e870f364dd74578fcc21373 (patch)
treeb63e114081856b9fdb2afab3db3706e644b9c2fa /embed.fnc
parentc3ff6b3084af5c20dc83804f3f4b6c8579748033 (diff)
downloadperl-8c654ff2610478421e870f364dd74578fcc21373.tar.gz
This should clear up 'Perl_do_exec' undefined; warnings on win32
p4raw-id: //depot/perl@25946
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc6
1 files changed, 6 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index a3746fe459..2ee9e07351 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -183,7 +183,13 @@ Ap |int |do_binmode |NN PerlIO *fp|int iotype|int mode
p |void |do_chop |NN SV* asv|NN SV* sv
Ap |bool |do_close |NN GV* gv|bool not_implicit
p |bool |do_eof |NN GV* gv
+
+#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
pmb |bool |do_exec |NN const char* cmd
+#else
+p |bool |do_exec |NN const char* cmd
+#endif
+
#if defined(WIN32) || defined(__SYMBIAN32__)
Ap |int |do_aspawn |NN SV* really|NN SV** mark|NN SV** sp
Ap |int |do_spawn |NN char* cmd