aboutsummaryrefslogtreecommitdiffstats
path: root/include/bls
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2019-03-22 13:55:07 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2019-03-22 14:04:33 +0800
commitf09ec7ce253b0f14d63c7a78c558d54672eba724 (patch)
treee837396b0bd9b23023b58cf6e84dc4c4e7055132 /include/bls
parentac02454d4c3859729fbf5c6eb72497b0b02c30d2 (diff)
downloaddexon-bls-f09ec7ce253b0f14d63c7a78c558d54672eba724.tar
dexon-bls-f09ec7ce253b0f14d63c7a78c558d54672eba724.tar.gz
dexon-bls-f09ec7ce253b0f14d63c7a78c558d54672eba724.tar.bz2
dexon-bls-f09ec7ce253b0f14d63c7a78c558d54672eba724.tar.lz
dexon-bls-f09ec7ce253b0f14d63c7a78c558d54672eba724.tar.xz
dexon-bls-f09ec7ce253b0f14d63c7a78c558d54672eba724.tar.zst
dexon-bls-f09ec7ce253b0f14d63c7a78c558d54672eba724.zip
bls384_256 supports windows
Diffstat (limited to 'include/bls')
-rw-r--r--include/bls/bls.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/bls/bls.h b/include/bls/bls.h
index 79aa6a3..cb300bc 100644
--- a/include/bls/bls.h
+++ b/include/bls/bls.h
@@ -29,7 +29,9 @@
#ifndef BLS_NO_AUTOLINK
#if MCLBN_FP_UNIT_SIZE == 4
#pragma comment(lib, "bls256.lib")
- #elif MCLBN_FP_UNIT_SIZE == 6
+ #elif (MCLBN_FP_UNIT_SIZE == 6) && (MCLBN_FR_UNIT_SIZE == 4)
+ #pragma comment(lib, "bls384_256.lib")
+ #elif (MCLBN_FP_UNIT_SIZE == 6) && (MCLBN_FR_UNIT_SIZE == 6)
#pragma comment(lib, "bls384.lib")
#endif
#endif