diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2015-11-12 21:05:01 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2016-01-25 16:27:00 +0100 |
commit | b17258f1fc4ccc7859839a048916c8ad355c1e4c (patch) | |
tree | 0df6454ad6236172183ffb37c15d7a16db75af8c /lib | |
parent | acdddf6e907d4bbb343a0de8ad3f68c372c25191 (diff) |
fosphor: Don't redefine gettimeofday in mingw build
Thanks to Martin Hauke <mardnh@gmx.de> for reporting
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fosphor/main.c | 2 |
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> |