We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2117f0 commit 69918b8Copy full SHA for 69918b8
include/secp256k1.h
@@ -145,7 +145,7 @@ typedef int (*secp256k1_nonce_function)(
145
* Attributes" in the GCC manual and the recommendations in
146
* https://gcc.gnu.org/wiki/Visibility. */
147
# if defined(SECP256K1_BUILD)
148
-# if defined(DLL_EXPORT)
+# if defined(SECP256K1_DLL) || defined(DLL_EXPORT)
149
/* Building libsecp256k1 as a DLL. (DLL_EXPORT is a libtool convention.) */
150
# define SECP256K1_API __declspec (dllexport)
151
# define SECP256K1_API_VAR extern __declspec (dllexport)
0 commit comments