Pure mingw build ok

This commit is contained in:
Jean-Francois Dockes 2015-10-08 15:32:01 +02:00
parent 474ecc2b08
commit acb0a9012a
4 changed files with 23 additions and 11 deletions

View file

@ -376,6 +376,12 @@ ExecCmd::~ExecCmd()
}
}
// This does nothing under windows, but defining it avoids ifdefs in multiple
// places
void ExecCmd::useVfork(bool)
{
}
bool ExecCmd::which(const string& cmd, string& exe, const char* path)
{
static vector<string> s_pathelts;