Commit 0bfeefad authored by dearblue's avatar dearblue

Suppress _MSC_VER warns for mingw32

parent 027f4ded
......@@ -46,7 +46,7 @@ double round(double x) {
/* #define NO_GMTIME_R */
#ifdef _WIN32
#if _MSC_VER
#ifdef _MSC_VER
/* Win32 platform do not provide gmtime_r/localtime_r; emulate them using gmtime_s/localtime_s */
#define gmtime_r(tp, tm) ((gmtime_s((tm), (tp)) == 0) ? (tm) : NULL)
#define localtime_r(tp, tm) ((localtime_s((tm), (tp)) == 0) ? (tm) : NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment