summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SharedForward.h.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-08-04 14:16:34 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-04 14:16:34 (GMT)
commit60c783676c91ff1ded2ed5e6fd50d0f9664032e5 (patch)
tree02f4932329dbe4777918ce1d9f94307be9c3e414 /Source/kwsys/SharedForward.h.in
parentba60ff99ed2ea35f8b8c24bc566b6f60d51fce53 (diff)
parent158c6d1cffe863fde284d4e5eeeb8129d40ce0e9 (diff)
downloadCMake-60c783676c91ff1ded2ed5e6fd50d0f9664032e5.zip
CMake-60c783676c91ff1ded2ed5e6fd50d0f9664032e5.tar.gz
CMake-60c783676c91ff1ded2ed5e6fd50d0f9664032e5.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/SharedForward.h.in')
-rw-r--r--Source/kwsys/SharedForward.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SharedForward.h.in b/Source/kwsys/SharedForward.h.in
index dd4d462..7ff29b4 100644
--- a/Source/kwsys/SharedForward.h.in
+++ b/Source/kwsys/SharedForward.h.in
@@ -512,7 +512,7 @@ static void kwsys_shared_forward_execvp(const char* cmd,
/* Invoke the child process. */
#if defined(_MSC_VER)
_execvp(cmd, argv);
-#elif defined(__MINGW32__)
+#elif defined(__MINGW32__) && !defined(__MINGW64__)
execvp(cmd, argv);
#else
execvp(cmd, (char* const*)argv);