================ @@ -76,14 +77,20 @@ #define KMP_OS_SOLARIS 1 #endif +#if (defined __wasi__) || (defined __EMSCRIPTEN__) ---------------- abrown wrote: Good finds, both of them. Let's discuss in #95169. https://github.com/llvm/llvm-project/pull/71297