Merge branch 'master' of https://gitea.fhgr.ch/schurtisimon/StudyPlanner
commit
053bf501b5
2
Makefile
2
Makefile
|
@ -36,7 +36,7 @@ edit:
|
|||
nvim $(PLF) Makefile $(LLST) src/test.c
|
||||
|
||||
clean:
|
||||
rm -rf *.o debugOut src/*.gch
|
||||
rm -rf *.o debugOut src/*.gch *.csv *.ics
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,15 +15,13 @@
|
|||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
_WIN32 #define ctime_r(T, Tm)(localtime_s(Tm, T) ? NULL : Tm)
|
||||
#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 unsigned int intervalLen = 45; // min
|
||||
const unsigned int pauseLen = 10; //
|
||||
const unsigned int pauseLen = 10; //
|
||||
|
||||
const char taskFormat[] =
|
||||
"Task { %.64s = {\n created={%lu},\n deadline={%lu},\n "
|
||||
|
|
Loading…
Reference in New Issue