# 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,14 +15,14 @@
#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 */
typedef unsigned int uint;
const uint intervalLen = 45; // min
const uint pauseLen = 10; //
const uint intervalLen = 45; // min
const uint pauseLen = 10; //
const char taskFormat[] =
"Task { %.64s = {\n created={%lu},\n deadline={%lu},\n "

View File

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