diff options
Diffstat (limited to 'include/bls')
-rw-r--r-- | include/bls/bls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bls/bls.h b/include/bls/bls.h index 42e7109..820fc59 100644 --- a/include/bls/bls.h +++ b/include/bls/bls.h @@ -22,6 +22,8 @@ #else #ifdef __EMSCRIPTEN__ #define BLS_DLL_API __attribute__((used)) +#elif defined(__wasm__) + #define BLS_DLL_API __attribute__((visibility("default"))) #else #define BLS_DLL_API #endif |