Only use gmtime_s for MSVC
This commit is contained in:
parent
9b9a0ca2a0
commit
499f015db9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue