This commit is contained in:
cpq committed 2021-04-29 09:50:33 +01:00
1 parent 758572872d
commit 7851930ac3
5 files changed
+28 -4

No files matched your search

+11
View File
@@ -67,4 +67,15 @@ typedef int socklen_t;
#define MG_INT64_FMT "%I64d"
// https://lgtm.com/rules/2154840805/ -gmtime, localtime, ctime and asctime
static __inline struct tm *gmtime_r(time_t *t, struct tm *tm) {
(void) tm;
return gmtime(t);
}
static __inline struct tm *localtime_r(time_t *t, struct tm *tm) {
(void) tm;
return localtime(t);
}
#endif