Fix borland build. Borland Run command should be static, since it is called with no object...
This commit is contained in:
parent
a518fed4e3
commit
1ba0a05039
@ -1273,7 +1273,8 @@ bool RunCommandViaWin32(const char* command,
|
|||||||
int timeout)
|
int timeout)
|
||||||
{
|
{
|
||||||
#if defined(__BORLANDC__)
|
#if defined(__BORLANDC__)
|
||||||
return cmWin32ProcessExecution::BorlandRunCommand(command, dir, output, retVal,
|
return cmWin32ProcessExecution::BorlandRunCommand(command, dir, output,
|
||||||
|
retVal,
|
||||||
verbose, timeout);
|
verbose, timeout);
|
||||||
#else // Visual studio
|
#else // Visual studio
|
||||||
::SetLastError(ERROR_SUCCESS);
|
::SetLastError(ERROR_SUCCESS);
|
||||||
|
@ -132,7 +132,7 @@ public:
|
|||||||
* will display it in our app. Consequently, we check for input in
|
* 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.
|
* our app and send it off to the write end of the stdin pipe.
|
||||||
*/
|
*/
|
||||||
bool BorlandRunCommand(const char* command, const char* dir,
|
static bool BorlandRunCommand(const char* command, const char* dir,
|
||||||
std::string& output, int& retVal, bool verbose,
|
std::string& output, int& retVal, bool verbose,
|
||||||
int timeout);
|
int timeout);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user