diff --git a/src/planner.c b/src/planner.c index 1684d3b..c54b61e 100644 --- a/src/planner.c +++ b/src/planner.c @@ -15,6 +15,12 @@ #include #include +#define ctime_r(T,Tm) (localtime_s(Tm,T) ? NULL:Tm) +#define localtime_r(T,Tm) (localtime_s(Tm,T) ? NULL:Tm) + + +typedef unsigned int uint; + const uint intervalLen = 45; // min const uint pauseLen = 10; //