aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/fosphor/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fosphor/main.c b/lib/fosphor/main.c
index f0c5be3..efb5413 100644
--- a/lib/fosphor/main.c
+++ b/lib/fosphor/main.c
@@ -45,7 +45,7 @@ static const int k_db_per_div[] = { 1, 2, 5, 10, 20 };
/* Timing utils */
/* ------------------------------------------------------------------------ */
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__MINGW32__)
#include <time.h>
#include <windows.h>