aboutsummaryrefslogtreecommitdiffstats
path: root/src/bls_c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bls_c.cpp')
-rw-r--r--src/bls_c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bls_c.cpp b/src/bls_c.cpp
index 274babb..5f55785 100644
--- a/src/bls_c.cpp
+++ b/src/bls_c.cpp
@@ -43,7 +43,7 @@ extern "C" BLS_DLL_API void blsFree(void *p)
}
#endif
-#ifndef __EMSCRIPTEN__
+#if !defined(__EMSCRIPTEN__) && !defined(__wasm__)
#if defined(CYBOZU_CPP_VERSION) && CYBOZU_CPP_VERSION >= CYBOZU_CPP_VERSION_CPP11
#include <mutex>
#define USE_STD_MUTEX