Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mathieu Westphal
KWSys
Commits
e787837a
Commit
e787837a
authored
Jul 30, 2014
by
Rashad M
Committed by
Brad King
Aug 04, 2014
Browse files
SharedForward: Cast away const to call execvp on MinGW 64-bit
Change-Id: Ia74a754b34971e71d5352f48839abc8e9a313682
parent
f29fec7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
SharedForward.h.in
View file @
e787837a
...
@@ -512,7 +512,7 @@ static void kwsys_shared_forward_execvp(const char* cmd,
...
@@ -512,7 +512,7 @@ static void kwsys_shared_forward_execvp(const char* cmd,
/* Invoke the child process. */
/* Invoke the child process. */
#if defined(_MSC_VER)
#if defined(_MSC_VER)
_execvp(cmd, argv);
_execvp(cmd, argv);
#elif defined(__MINGW32__)
#elif defined(__MINGW32__)
&& !defined(__MINGW64__)
execvp(cmd, argv);
execvp(cmd, argv);
#else
#else
execvp(cmd, (char* const*)argv);
execvp(cmd, (char* const*)argv);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment