From 3aed4dbdecd66769dc0865ee869a920c1db4c988 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Tue, 1 May 2012 14:38:19 +0100 Subject: mingw32: implement system(3) call using sh instead of cmd.exe --- include/mingw.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/mingw.h b/include/mingw.h index a9b14a9b2..08d776c84 100644 --- a/include/mingw.h +++ b/include/mingw.h @@ -169,6 +169,9 @@ int winansi_get_terminal_width_height(struct winsize *win); #define WTERMSIG(x) ((x) & 0x7f) #define WCOREDUMP(x) 0 +int mingw_system(const char *cmd); +#define system mingw_system + int clearenv(void); char *mingw_getenv(const char *name); int mkstemp(char *template); -- cgit v1.2.3-55-g6feb