From 7491c81153465d1cac9335b3905e3dcfc7fd83b3 Mon Sep 17 00:00:00 2001 From: satk0 Date: Mon, 7 Oct 2024 22:08:31 +0200 Subject: [PATCH] Don't include pthread on wasi or enscripten --- cutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cutils.h b/cutils.h index 76cb460..7830d0a 100644 --- a/cutils.h +++ b/cutils.h @@ -49,7 +49,7 @@ extern "C" { #elif defined(_WIN32) #include #endif -#if !defined(_WIN32) +#if !defined(_WIN32) && !defined(EMSCRIPTEN) && !defined(__wasi__) #include #include #endif