# Conflicts:
#	src/planner.c
bugfix
Jürgen Büchel 2024-12-16 09:39:48 +01:00
commit e27e6f0b28
2 changed files with 9 additions and 8 deletions

View File

@ -15,11 +15,11 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#define ctime_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) #define localtime_r(T, Tm) (localtime_s(Tm, T) ? NULL : Tm)
#endif /* ifdef _WIN32 */
typedef unsigned int uint;
const uint intervalLen = 45; // min const uint intervalLen = 45; // min
const uint pauseLen = 10; // const uint pauseLen = 10; //

View File

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