mirror of
https://github.com/frida/tinycc
synced 2024-12-25 06:26:49 +03:00
Microsoft says that _spawnp must be used instead of spawnp. It fixes a warning when compiled with MinGW 32/64 gcc compilers
This commit is contained in:
parent
3f233ab127
commit
1339d04759
2
tcc.c
2
tcc.c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user