[win] add library for bn512 to autolink

dev
MITSUNARI Shigeo 7 years ago
parent ba006adcda
commit 69cee3394c
  1. 6
      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

Loading…
Cancel
Save