summaryrefslogtreecommitdiff
path: root/src/walltime_func.h
AgeCommit message (Collapse)Author
2021-06-10Fix aa5a8fe28: [MinGW] Wrong define tested (WIN32 vs _WIN32)glx22
2021-05-14Codechange: use thread safe time functionsrubidium42
Functions like localtime, gmtime and asctime are not thread safe as they (might) reuse the same buffer. So use the safer _s/_r variant for localtime and gmtime, and use strftime in favour of asctime.