Commit 439d6b1c authored by Martin Storsjö's avatar Martin Storsjö Committed by Dominic Hamon
Browse files

Include sys/time.h for cycleclock.h when building on MinGW (#680)

When building for ARM, there is a fallback codepath that uses
gettimeofday, which requires sys/time.h.

The Windows SDK doesn't have this header, but MinGW does have it.
Thus, this fixes building for Windows on ARM with MinGW
headers/libraries, while Windows on ARM with the Windows SDK still
is broken.
parent 52613079
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment