[llvm-commits] [llvm] r128205 - /llvm/trunk/tools/llvm-stub/llvm-stub.c
NAKAMURA Takumi
geek4civic at gmail.com
Thu Mar 24 00:06:45 PDT 2011
Author: chapuni
Date: Thu Mar 24 02:06:45 2011
New Revision: 128205
URL: http://llvm.org/viewvc/llvm-project?rev=128205&view=rev
Log:
llvm-stub.cpp: mingw-w64 tweak.
Modified:
llvm/trunk/tools/llvm-stub/llvm-stub.c
Modified: llvm/trunk/tools/llvm-stub/llvm-stub.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-stub/llvm-stub.c?rev=128205&r1=128204&r2=128205&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-stub/llvm-stub.c (original)
+++ llvm/trunk/tools/llvm-stub/llvm-stub.c Thu Mar 24 02:06:45 2011
@@ -64,7 +64,7 @@
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 *. */
More information about the llvm-commits
mailing list