diff options
-rw-r--r-- | src/misc/util/abc_global.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/util/abc_global.h b/src/misc/util/abc_global.h index 2217bb87..02dfb679 100644 --- a/src/misc/util/abc_global.h +++ b/src/misc/util/abc_global.h @@ -334,7 +334,7 @@ static inline abctime Abc_Clock() #else #define APPLE_MACH 0 #endif -#if (defined(LIN) || defined(LIN64)) && !APPLE_MACH && !defined(__MINGW32__) +#if (defined(LIN) || defined(LIN64)) && !APPLE_MACH && !defined(__MINGW32__) && !defined(__wasm) struct timespec ts; if ( clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) < 0 ) return (abctime)-1; |