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

#define ctime_r(T,Tm) (localtime_s(Tm,T) ? NULL:Tm)
bugfix
Jürgen Büchel 2024-12-15 15:17:24 +01:00
parent 10a36c4a88
commit 33b0d3087b
1 changed files with 6 additions and 0 deletions

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; //