mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
llvm-stub.cpp: mingw-w64 tweak.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128205 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
acdddfedd1
commit
c37c539944
@ -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…
x
Reference in New Issue
Block a user