Merge pull request #234 from omar-polo/master

fix the build on OpenBSD
This commit is contained in:
Rich Geldreich
2021-09-22 20:17:31 -04:00
committed by GitHub

View File

@@ -195,7 +195,7 @@ namespace basisu
{
QueryPerformanceFrequency(reinterpret_cast<LARGE_INTEGER*>(pTicks));
}
#elif defined(__APPLE__)
#elif defined(__APPLE__) || defined(__OpenBSD__)
#include <sys/time.h>
inline void query_counter(timer_ticks* pTicks)
{