You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
basisu_enc.cpp includes sys/timex.h when __GNUC__ is defined. This file has recently been removed from Emscripten because Emscripten doesn't implement the 2 functions defined there.
int adjtimex(struct timex *);
int clock_adjtime(clockid_t, struct timex *);
basisu_enc.cpp isn't using them either. The gettimeofday function it does use is defined in sys/time.h which is included by sys/timex.h.
Please change the code to #include <sys/time.h> so special steps are not needed to build with Emscripten.
The text was updated successfully, but these errors were encountered:
basisu_enc.cpp
includessys/timex.h
when__GNUC__
is defined. This file has recently been removed from Emscripten because Emscripten doesn't implement the 2 functions defined there.basisu_enc.cpp
isn't using them either. Thegettimeofday
function it does use is defined insys/time.h
which is included bysys/timex.h
.Please change the code to
#include <sys/time.h>
so special steps are not needed to build with Emscripten.The text was updated successfully, but these errors were encountered: