tcc, libtcc: fix build on windows with latest mingw.
This commit is contained in:
2
tcc.c
2
tcc.c
@ -78,7 +78,7 @@ static void help(void)
|
||||
#include <process.h>
|
||||
static int execvp_win32(const char *prog, char **argv)
|
||||
{
|
||||
int ret = spawnvp(P_NOWAIT, prog, (char *const*)argv);
|
||||
int ret = spawnvp(P_NOWAIT, prog, (const char *const*)argv);
|
||||
if (-1 == ret)
|
||||
return ret;
|
||||
cwait(&ret, ret, WAIT_CHILD);
|
||||
|
||||
Reference in New Issue
Block a user