mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-09-09 03:58:18 +00:00
emscripten no longer provides sys/timex.h, but does provide sys/time.h
This commit is contained in:
@@ -229,7 +229,7 @@ namespace basisu
|
||||
{
|
||||
QueryPerformanceFrequency(reinterpret_cast<LARGE_INTEGER*>(pTicks));
|
||||
}
|
||||
#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__wasm__)
|
||||
#include <sys/time.h>
|
||||
inline void query_counter(timer_ticks* pTicks)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user