modified: src/planner.c

modified:   src/ui.c
bugfix
ketrptr 2024-12-16 09:20:06 +01:00
parent db3f7a4de7
commit 0c27b315a9
2 changed files with 9 additions and 6 deletions

View File

@ -15,9 +15,11 @@
#include <string.h>
#include <time.h>
#define ctime_r(T,Tm) (localtime_s(Tm,T) ? NULL:Tm)
#define localtime_r(T,Tm) (localtime_s(Tm,T) ? NULL:Tm)
#ifdef _WIN32
_WIN32 #define ctime_r(T, Tm)(localtime_s(Tm, T) ? NULL : Tm)
#define localtime_r(T, Tm) (localtime_s(Tm, T) ? NULL : Tm)
#endif /* ifdef _WIN32 */
const uint intervalLen = 45; // min
const uint pauseLen = 10; //

View File

@ -13,8 +13,9 @@
#include <stdlib.h>
#include <time.h>
#ifdef _WIN32
#define localtime_r(T, Tm) (localtime_s(Tm, T) ? NULL : Tm)
#endif
const char *dbName = "db.csv";