Browse Source

Make sure no threads are used on wasm

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.0
falkTX 3 years ago
parent
commit
da4e0fdbeb
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      source/utils/CarlaThread.hpp

+ 4
- 0
source/utils/CarlaThread.hpp View File

@@ -26,6 +26,10 @@
# include <sys/prctl.h>
#endif

#ifdef CARLA_OS_WASM
# error Threads do not work under wasm!
#endif

// -----------------------------------------------------------------------
// CarlaThread class



Loading…
Cancel
Save