summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmSystemTools.cxx3
-rw-r--r--Source/cmWin32ProcessExecution.h6
2 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 0dc4bc00..358edd0 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1273,7 +1273,8 @@ bool RunCommandViaWin32(const char* command,
int timeout)
{
#if defined(__BORLANDC__)
- return cmWin32ProcessExecution::BorlandRunCommand(command, dir, output, retVal,
+ return cmWin32ProcessExecution::BorlandRunCommand(command, dir, output,
+ retVal,
verbose, timeout);
#else // Visual studio
::SetLastError(ERROR_SUCCESS);
diff --git a/Source/cmWin32ProcessExecution.h b/Source/cmWin32ProcessExecution.h
index c7b97e5..c0eafbf 100644
--- a/Source/cmWin32ProcessExecution.h
+++ b/Source/cmWin32ProcessExecution.h
@@ -132,9 +132,9 @@ public:
* will display it in our app. Consequently, we check for input in
* our app and send it off to the write end of the stdin pipe.
*/
- bool BorlandRunCommand(const char* command, const char* dir,
- std::string& output, int& retVal, bool verbose,
- int timeout);
+ static bool BorlandRunCommand(const char* command, const char* dir,
+ std::string& output, int& retVal, bool verbose,
+ int timeout);
private:
bool PrivateOpen(const char*, const char*, int, int);