mirror of https://github.com/Icinga/icinga2.git
Build fix.
This commit is contained in:
parent
f3c085df44
commit
f30517a9e2
|
@ -65,8 +65,8 @@ void Process::StaticInitialize(void)
|
|||
<< boost::errinfo_errno(errno));
|
||||
}
|
||||
|
||||
Utility::SetCloExec(fds[0]);
|
||||
Utility::SetCloExec(fds[1]);
|
||||
Utility::SetCloExec(l_EventFDs[0]);
|
||||
Utility::SetCloExec(l_EventFDs[1]);
|
||||
#endif /* HAVE_PIPE2 */
|
||||
|
||||
Utility::SetNonBlocking(l_EventFDs[0]);
|
||||
|
|
|
@ -22,13 +22,11 @@
|
|||
#ifdef _WIN32
|
||||
using namespace icinga;
|
||||
|
||||
ProcessResult Process::Run(void)
|
||||
void Process::Run(const boost::function<void (const ProcessResult&)>& callback)
|
||||
{
|
||||
ProcessResult pr;
|
||||
|
||||
// TODO: implement
|
||||
|
||||
return pr;
|
||||
ProcessResult;
|
||||
callback(pr);
|
||||
}
|
||||
|
||||
#endif /* _WIN32 */
|
||||
|
|
Loading…
Reference in New Issue