Only use gmtime_s for MSVC

This commit is contained in:
Linus Probert 2019-02-24 20:05:23 +01:00
parent 9b9a0ca2a0
commit 499f015db9
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
#define SECONDS_PER_HOUR 3600 #define SECONDS_PER_HOUR 3600
#define SECONDS_PER_MINUTE 60 #define SECONDS_PER_MINUTE 60
#ifdef WIN32 #ifdef _MSC_VER
#define m_gmtime gmtime_s #define m_gmtime gmtime_s
#else #else
#define m_gmtime gmtime_r #define m_gmtime gmtime_r