diff options
| author | Ron Yorston <rmy@pobox.com> | 2012-05-01 14:38:19 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2012-05-01 14:38:19 +0100 |
| commit | 3aed4dbdecd66769dc0865ee869a920c1db4c988 (patch) | |
| tree | 56e9a73d58f25e57998b4a4cf6ab37ef24287e70 /include | |
| parent | aa5bfb88d69ea24c74355298c671e07bce240d83 (diff) | |
| download | busybox-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.h | 3 |
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 | ||
| 172 | int mingw_system(const char *cmd); | ||
| 173 | #define system mingw_system | ||
| 174 | |||
| 172 | int clearenv(void); | 175 | int clearenv(void); |
| 173 | char *mingw_getenv(const char *name); | 176 | char *mingw_getenv(const char *name); |
| 174 | int mkstemp(char *template); | 177 | int mkstemp(char *template); |
