diff --git a/source/utils/CarlaThread.hpp b/source/utils/CarlaThread.hpp index 8e17708f8..ef0d488ad 100644 --- a/source/utils/CarlaThread.hpp +++ b/source/utils/CarlaThread.hpp @@ -26,6 +26,10 @@ # include #endif +#ifdef CARLA_OS_WASM +# error Threads do not work under wasm! +#endif + // ----------------------------------------------------------------------- // CarlaThread class