aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-05-24 20:14:41 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-05-24 20:14:41 +0800
commitb0249247f4aee3fd292fb177f3504c2042701dfc (patch)
treed40cda2730a7c89e1fb7a3b54b9fb1e558fea444 /src
parent6b889517c31bb773e4ad1cb8c139c5d924520c2e (diff)
downloaddexon-bls-b0249247f4aee3fd292fb177f3504c2042701dfc.tar
dexon-bls-b0249247f4aee3fd292fb177f3504c2042701dfc.tar.gz
dexon-bls-b0249247f4aee3fd292fb177f3504c2042701dfc.tar.bz2
dexon-bls-b0249247f4aee3fd292fb177f3504c2042701dfc.tar.lz
dexon-bls-b0249247f4aee3fd292fb177f3504c2042701dfc.tar.xz
dexon-bls-b0249247f4aee3fd292fb177f3504c2042701dfc.tar.zst
dexon-bls-b0249247f4aee3fd292fb177f3504c2042701dfc.zip
use same options of mcl-wasm
Diffstat (limited to 'src')
-rw-r--r--src/bls_c.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/bls_c.cpp b/src/bls_c.cpp
index ae86508..d3ad2f5 100644
--- a/src/bls_c.cpp
+++ b/src/bls_c.cpp
@@ -1,13 +1,10 @@
-#ifdef __EMSCRIPTEN__
#define MCLBN_DONT_EXPORT
-#include "../mcl/src/fp.cpp"
-#endif
-
-#include "../mcl/src/bn_c_impl.hpp"
-
#define BLS_DLL_EXPORT
#include <bls/bls.h>
+
+#include "../mcl/src/bn_c_impl.hpp"
+
/*
BLS signature
e : G1 x G2 -> Fp12