From b17258f1fc4ccc7859839a048916c8ad355c1e4c Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Thu, 12 Nov 2015 21:05:01 +0100 Subject: fosphor: Don't redefine gettimeofday in mingw build Thanks to Martin Hauke for reporting Signed-off-by: Sylvain Munaut --- lib/fosphor/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 #include -- cgit v1.2.3