mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-27 05:10:41 +00:00
llvm-stub.cpp: mingw-w64 tweak.
llvm-svn: 128205
This commit is contained in:
parent
9d660cc8b7
commit
cb3235ade0
@ -64,7 +64,7 @@ int main(int argc, char** argv) {
|
||||
memcpy((char **)Args+2, argv+1, sizeof(char*)*argc);
|
||||
|
||||
/* Run the JIT. */
|
||||
#ifndef _WIN32
|
||||
#if !defined(_WIN32) || defined(__MINGW64__)
|
||||
execvp(Interp, (char **)Args); /* POSIX execvp takes a char *const[]. */
|
||||
#else
|
||||
execvp(Interp, Args); /* windows execvp takes a const char *const *. */
|
||||
|
Loading…
Reference in New Issue
Block a user