mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Compilation fixes for Windows.
This commit is contained in:
parent
d1f4d9b829
commit
145d85d148
@ -1,5 +1,7 @@
|
|||||||
#include "i2-icinga.h"
|
#include "i2-icinga.h"
|
||||||
#include "popen_noshell.h"
|
#ifndef _MSC_VER
|
||||||
|
# include "popen_noshell.h"
|
||||||
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ long Service::GetRetryInterval(void) const
|
|||||||
|
|
||||||
void Service::SetNextCheck(time_t nextCheck)
|
void Service::SetNextCheck(time_t nextCheck)
|
||||||
{
|
{
|
||||||
GetConfigObject()->SetProperty("next_check", nextCheck);
|
GetConfigObject()->SetProperty("next_check", (long)nextCheck);
|
||||||
}
|
}
|
||||||
|
|
||||||
time_t Service::GetNextCheck(void)
|
time_t Service::GetNextCheck(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user