tcc, libtcc: fix build on windows with latest mingw.

This commit is contained in:
minux
2014-04-11 23:49:53 -04:00
parent bba1c381f4
commit df0267b287
2 changed files with 2 additions and 2 deletions

2
tcc.c
View File

@ -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);