diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-11-05 18:06:42 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-11-05 18:06:42 +0800 |
commit | d12b2a21a2f6654c6bdc87e62012483fb3aca493 (patch) | |
tree | 32f15667f5efa3e14eb8a29a46abc6c11eb3a7ba /include/bls | |
parent | e11812a1072b5d56c9c8a86b77a9f6cbef2bf7de (diff) | |
download | dexon-bls-d12b2a21a2f6654c6bdc87e62012483fb3aca493.tar dexon-bls-d12b2a21a2f6654c6bdc87e62012483fb3aca493.tar.gz dexon-bls-d12b2a21a2f6654c6bdc87e62012483fb3aca493.tar.bz2 dexon-bls-d12b2a21a2f6654c6bdc87e62012483fb3aca493.tar.lz dexon-bls-d12b2a21a2f6654c6bdc87e62012483fb3aca493.tar.xz dexon-bls-d12b2a21a2f6654c6bdc87e62012483fb3aca493.tar.zst dexon-bls-d12b2a21a2f6654c6bdc87e62012483fb3aca493.zip |
[js] support Node.js
Diffstat (limited to 'include/bls')
-rw-r--r-- | include/bls/bls.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/bls/bls.h b/include/bls/bls.h index 5fe2d81..2b87e1e 100644 --- a/include/bls/bls.h +++ b/include/bls/bls.h @@ -20,7 +20,11 @@ #endif #endif #else -#define BLS_DLL_API +#ifdef __EMSCRIPTEN__ + #define BLS_DLL_API __attribute__((used)) +#else + #define BLS_DLL_API +#endif #endif #ifdef __cplusplus |