We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85aecf4 commit 4d25990Copy full SHA for 4d25990
include/secp256k1.h
@@ -141,6 +141,14 @@ typedef int (*secp256k1_nonce_function)(
141
# define SECP256K1_API __declspec (dllexport)
142
# define SECP256K1_API_VAR extern __declspec (dllexport)
143
# endif
144
+# elif defined(SECP256K1_IMPORT_AS_STATICLIB) && defined(SECP256K1_IMPORT_AS_DLL)
145
+# error "At most one of SECP256K1_IMPORT_AS_STATICLIB and SECP256K1_IMPORT_AS_DLL must be defined."
146
+# elif defined(SECP256K1_IMPORT_AS_STATICLIB)
147
+# define SECP256K1_API
148
+# define SECP256K1_API_VAR extern
149
+# elif defined(SECP256K1_IMPORT_AS_DLL)
150
+# define SECP256K1_API __declspec (dllimport)
151
+# define SECP256K1_API_VAR extern __declspec (dllimport)
152
# elif defined _MSC_VER
153
# define SECP256K1_API
154
# define SECP256K1_API_VAR extern __declspec (dllimport)
0 commit comments