From 36b46eee5470204abb3b43fe393ba2afc8c30639 Mon Sep 17 00:00:00 2001 From: Jens Rieks Date: Fri, 8 Oct 2004 09:26:20 +0000 Subject: [PATCH] [perl #31883] [PATCH] MSWin32 Makefile and Exec issues Replaced %.pbc:%.imc with .pbc.imc: as former is not supported by nmake. config/gen/makefiles/root.in Added #include for _execvp declaration. Courtesy of Ron Blaschke git-svn-id: https://svn.parrot.org/parrot/trunk@6791 d31e2699-5ff4-0310-a27c-f18f2fbe73fe --- config/gen/makefiles/root.in | 2 +- config/gen/platform/win32/exec.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/gen/makefiles/root.in b/config/gen/makefiles/root.in index 67cc400b80..4bd9493bdd 100644 --- a/config/gen/makefiles/root.in +++ b/config/gen/makefiles/root.in @@ -453,7 +453,7 @@ MAKE_C = ${make_c} .c$(O) : @$(PERL) tools/dev/cc_flags.pl ./CFLAGS $(CC) "" $(CFLAGS) -I$(@D) ${cc_o_out}$@ -c $< -%.pbc:%.imc +.pbc.imc: .${slash}$(TEST_PROG) -o $@ $< ############################################################################### diff --git a/config/gen/platform/win32/exec.c b/config/gen/platform/win32/exec.c index a5cb1f9db0..dc2b7dcbf9 100644 --- a/config/gen/platform/win32/exec.c +++ b/config/gen/platform/win32/exec.c @@ -1,3 +1,5 @@ +#include + /* * Spawn a subprocess *