diff options
author | fanquake <fanquake@gmail.com> | 2022-06-11 14:55:18 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-06-11 14:55:18 +0100 |
commit | 913b1f2a5eb2ee5cd02113791764b23ded4c1c94 (patch) | |
tree | 90756ade42ab303ac0823ed26fa67637dfe83dbd /src/secp256k1/include | |
parent | fbae8c59a2c3f102828a91ee0dbd6017daa1f4fb (diff) | |
parent | c41bfd1070176efcaae7fa33313cb4c3e88b44b0 (diff) |
Update secp256k1 subtree to latest upstream master
Diffstat (limited to 'src/secp256k1/include')
-rw-r--r-- | src/secp256k1/include/secp256k1.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/secp256k1/include/secp256k1.h b/src/secp256k1/include/secp256k1.h index 86ab7e556d..dddab346ae 100644 --- a/src/secp256k1/include/secp256k1.h +++ b/src/secp256k1/include/secp256k1.h @@ -141,9 +141,13 @@ typedef int (*secp256k1_nonce_function)( # define SECP256K1_NO_BUILD #endif +/** At secp256k1 build-time DLL_EXPORT is defined when building objects destined + * for a shared library, but not for those intended for static libraries. + */ + #ifndef SECP256K1_API # if defined(_WIN32) -# ifdef SECP256K1_BUILD +# if defined(SECP256K1_BUILD) && defined(DLL_EXPORT) # define SECP256K1_API __declspec(dllexport) # else # define SECP256K1_API |