Compare commits
2 Commits
4acaefdd42
...
2b162f532f
Author | SHA1 | Date |
---|---|---|
ketrptr | 2b162f532f | |
ketrptr | e4b1580d1e |
2
Makefile
2
Makefile
|
@ -36,7 +36,7 @@ edit:
|
||||||
nvim $(PLF) Makefile $(LLST) src/test.c
|
nvim $(PLF) Makefile $(LLST) src/test.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.o debugOut src/*.gch
|
rm -rf *.o debugOut src/*.gch *.csv *.ics
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,15 +15,13 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#define ctime_r(T, Tm) (localtime_s(Tm, T) ? NULL : Tm)
|
||||||
_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 */
|
#endif /* ifdef _WIN32 */
|
||||||
|
|
||||||
const unsigned int intervalLen = 45; // min
|
const unsigned int intervalLen = 45; // min
|
||||||
const unsigned int pauseLen = 10; //
|
const unsigned int pauseLen = 10; //
|
||||||
|
|
||||||
const char taskFormat[] =
|
const char taskFormat[] =
|
||||||
"Task { %.64s = {\n created={%lu},\n deadline={%lu},\n "
|
"Task { %.64s = {\n created={%lu},\n deadline={%lu},\n "
|
||||||
|
|
Loading…
Reference in New Issue