History

Microsoft says that _spawnp must be used instead of spawnp. It fixes a warning when compiled with MinGW 32/64 gcc compilers

Christian Jullien committed 10 years ago

Commit 1339d041 parent 3f233ab1 file · +1 −1Browse files

Unified · Split

tcc.c+1−1
@@ -133,7 +133,7 @@ static void help(void) · 132 unmodified lines
133#include <process.h>133#include <process.h>
134static int execvp_win32(const char *prog, char **argv)134static int execvp_win32(const char *prog, char **argv)
135{135{
136 int ret = spawnvp(P_NOWAIT, prog, (const char *const*)argv);136 int ret = _spawnvp(P_NOWAIT, prog, (const char *const*)argv);
137 if (-1 == ret)137 if (-1 == ret)
138 return ret;138 return ret;
139 cwait(&ret, ret, WAIT_CHILD);139 cwait(&ret, ret, WAIT_CHILD);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t