summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LibOVR/Src/OVR_SensorFusion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibOVR/Src/OVR_SensorFusion.cpp b/LibOVR/Src/OVR_SensorFusion.cpp
index eac0366..a2248d1 100644
--- a/LibOVR/Src/OVR_SensorFusion.cpp
+++ b/LibOVR/Src/OVR_SensorFusion.cpp
@@ -561,7 +561,7 @@ bool SensorFusion::LoadMagCalibration(const char* calibrationName)
tm ct;
memset(&ct, 0, sizeof(tm));
-#ifdef OVR_OS_WIN32
+#if defined OVR_OS_WIN32 && !defined(__MINGW32__)
struct tm nowtime;
localtime_s(&nowtime, &now);
ct.tm_isdst = nowtime.tm_isdst;