mirror of https://github.com/bjornbytes/lovr.git
Awkward hotfix to tinycthread.h
Becuase of https://github.com/tinycthread/tinycthread/issues/47 . Only needed on Android. Not needed in the glfw tinycthread because we don't use glfw on Android.
This commit is contained in:
parent
783115c2cf
commit
ca75cb37c1
|
@ -106,6 +106,10 @@ extern "C" {
|
|||
#define TTHREAD_NORETURN
|
||||
#endif
|
||||
|
||||
/* HOTFIX: The TIME_UTC check below will spuriously succeed on Android NDK 18 or later, even on systems which lack timespec_get. */
|
||||
#ifdef __ANDROID__
|
||||
#undef TIME_UTC
|
||||
#endif
|
||||
/* If TIME_UTC is missing, provide it and provide a wrapper for
|
||||
timespec_get. */
|
||||
#ifndef TIME_UTC
|
||||
|
|
Loading…
Reference in New Issue