aboutsummaryrefslogtreecommitdiffstats
path: root/include/bls
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-06-05 17:05:04 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-06-05 17:05:04 +0800
commitaf3ea07591034175604ce4931ca548fd65c56a5a (patch)
treece3e62745c28ec3fcfc3f6ab43a8ea94906c3bd3 /include/bls
parentd375dc91093527a57cdcb6383d6319a16579ad9e (diff)
downloaddexon-bls-af3ea07591034175604ce4931ca548fd65c56a5a.tar
dexon-bls-af3ea07591034175604ce4931ca548fd65c56a5a.tar.gz
dexon-bls-af3ea07591034175604ce4931ca548fd65c56a5a.tar.bz2
dexon-bls-af3ea07591034175604ce4931ca548fd65c56a5a.tar.lz
dexon-bls-af3ea07591034175604ce4931ca548fd65c56a5a.tar.xz
dexon-bls-af3ea07591034175604ce4931ca548fd65c56a5a.tar.zst
dexon-bls-af3ea07591034175604ce4931ca548fd65c56a5a.zip
consiger clang for wasm
Diffstat (limited to 'include/bls')
-rw-r--r--include/bls/bls.h2
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