summaryrefslogtreecommitdiff
path: root/embed.h
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.h
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.h')
-rw-r--r--embed.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 1309bc8fc4..9105aead1b 100644
--- a/embed.h
+++ b/embed.h
@@ -165,6 +165,12 @@
#ifdef PERL_CORE
#define do_eof Perl_do_eof
#endif
+#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
+#else
+#ifdef PERL_CORE
+#define do_exec Perl_do_exec
+#endif
+#endif
#if defined(WIN32) || defined(__SYMBIAN32__)
#define do_aspawn Perl_do_aspawn
#define do_spawn Perl_do_spawn
@@ -2156,6 +2162,14 @@
#ifdef PERL_CORE
#define do_eof(a) Perl_do_eof(aTHX_ a)
#endif
+#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
+#ifdef PERL_CORE
+#endif
+#else
+#ifdef PERL_CORE
+#define do_exec(a) Perl_do_exec(aTHX_ a)
+#endif
+#endif
#if defined(WIN32) || defined(__SYMBIAN32__)
#define do_aspawn(a,b,c) Perl_do_aspawn(aTHX_ a,b,c)
#define do_spawn(a) Perl_do_spawn(aTHX_ a)