diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-09-28 16:34:31 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-09-28 16:34:31 +0800 |
commit | 69cee3394c742f8c5d4df5a7df9fe2a802bdc708 (patch) | |
tree | bf763945ef7a16586e9ac57175d4e1e819dd23a3 | |
parent | ba006adcda945c7d8bf930d682914b9755b06eb3 (diff) | |
download | tangerine-mcl-69cee3394c742f8c5d4df5a7df9fe2a802bdc708.tar.gz tangerine-mcl-69cee3394c742f8c5d4df5a7df9fe2a802bdc708.tar.zst tangerine-mcl-69cee3394c742f8c5d4df5a7df9fe2a802bdc708.zip |
[win] add library for bn512 to autolink
-rw-r--r-- | include/mcl/bn.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mcl/bn.h b/include/mcl/bn.h index 3b357c2..d8da9e1 100644 --- a/include/mcl/bn.h +++ b/include/mcl/bn.h @@ -18,11 +18,13 @@ #define MCLBN_DLL_API __declspec(dllexport) #else #define MCLBN_DLL_API __declspec(dllimport) -#ifndef MCL_NO_AUTOLINK +#ifndef MCLBN_NO_AUTOLINK #if MCLBN_FP_UNIT_SIZE == 4 #pragma comment(lib, "mclbn256.lib") - #else + #elif MCLBN_FP_UNIT_SIZE == 6 #pragma comment(lib, "mclbn384.lib") + #else + #pragma comment(lib, "mclbn512.lib") #endif #endif #endif |