diff options
| author | Christian Jullien <jullien@coltrane.eligis.com> | 2016-05-16 17:58:56 +0200 |
|---|---|---|
| committer | Christian Jullien <jullien@coltrane.eligis.com> | 2016-05-16 17:58:56 +0200 |
| commit | 1339d0475954fa2278977562b618d9bab044bc82 (patch) | |
| tree | f1dd6e6b846601548896cae34606d83ab7bddd65 | |
| parent | 3f233ab12763bea12421eee1a22700dee733784b (diff) | |
| download | tinycc-1339d0475954fa2278977562b618d9bab044bc82.tar.gz tinycc-1339d0475954fa2278977562b618d9bab044bc82.tar.bz2 | |
Microsoft says that _spawnp must be used instead of spawnp. It fixes a warning when compiled with MinGW 32/64 gcc compilers
| -rw-r--r-- | tcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ static void help(void) #include <process.h> static int execvp_win32(const char *prog, char **argv) { - int ret = spawnvp(P_NOWAIT, prog, (const char *const*)argv); + int ret = _spawnvp(P_NOWAIT, prog, (const char *const*)argv); if (-1 == ret) return ret; cwait(&ret, ret, WAIT_CHILD); |
