diff --git a/src/hx/gc/Immix.cpp b/src/hx/gc/Immix.cpp index da502d404..75331f45a 100644 --- a/src/hx/gc/Immix.cpp +++ b/src/hx/gc/Immix.cpp @@ -188,7 +188,7 @@ static bool sGcVerifyGenerational = false; #endif -#if HX_HAS_ATOMIC && (HXCPP_GC_DEBUG_LEVEL==0) && !defined(HX_GC_VERIFY) +#if HX_HAS_ATOMIC && (HXCPP_GC_DEBUG_LEVEL==0) && !defined(HX_GC_VERIFY) && !defined(EMSCRIPTEN) #if defined(HX_MACOS) || defined(HX_WINDOWS) || defined(HX_LINUX) enum { MAX_GC_THREADS = 4 }; #else