aboutsummaryrefslogtreecommitdiffstats
path: root/include/crow/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crow/logging.h')
-rw-r--r--include/crow/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crow/logging.h b/include/crow/logging.h
index 9c8bfbb..db8f72f 100644
--- a/include/crow/logging.h
+++ b/include/crow/logging.h
@@ -51,7 +51,7 @@ namespace crow
tm my_tm;
-#ifdef _MSC_VER
+#if defined(_MSC_VER) or defined(__MINGW32__)
gmtime_s(&my_tm, &t);
#else
gmtime_r(&t, &my_tm);