diff --git a/tcc.c b/tcc.c index 93ed4de..b340d9b 100644 --- a/tcc.c +++ b/tcc.c @@ -133,7 +133,7 @@ static void help(void) #include 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);