aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-05-01 14:38:19 +0100
committerRon Yorston <rmy@pobox.com>2012-05-01 14:38:19 +0100
commit3aed4dbdecd66769dc0865ee869a920c1db4c988 (patch)
tree56e9a73d58f25e57998b4a4cf6ab37ef24287e70 /include
parentaa5bfb88d69ea24c74355298c671e07bce240d83 (diff)
downloadbusybox-w32-3aed4dbdecd66769dc0865ee869a920c1db4c988.tar.gz
busybox-w32-3aed4dbdecd66769dc0865ee869a920c1db4c988.tar.bz2
busybox-w32-3aed4dbdecd66769dc0865ee869a920c1db4c988.zip
mingw32: implement system(3) call using sh instead of cmd.exe
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h3
1 files changed, 3 insertions, 0 deletions
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);
169#define WTERMSIG(x) ((x) & 0x7f) 169#define WTERMSIG(x) ((x) & 0x7f)
170#define WCOREDUMP(x) 0 170#define WCOREDUMP(x) 0
171 171
172int mingw_system(const char *cmd);
173#define system mingw_system
174
172int clearenv(void); 175int clearenv(void);
173char *mingw_getenv(const char *name); 176char *mingw_getenv(const char *name);
174int mkstemp(char *template); 177int mkstemp(char *template);