implemented: #define localtime_r(T,Tm) (localtime_s(Tm,T) ? NULL:Tm)

#define ctime_r(T,Tm) (localtime_s(Tm,T) ? NULL:Tm)
This commit is contained in:
buechejuerge committed 2024-12-16 09:39:30 +01:00
1 parent 10a36c4a88
commit 33b0d3087b
1 file changed
+6
+6
View File
@@ -15,6 +15,12 @@
#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)
typedef unsigned int uint;
const uint intervalLen = 45; // min
const uint pauseLen = 10; //