File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,14 @@ typedef int (*secp256k1_nonce_function)(
141
141
# define SECP256K1_API __declspec (dllexport)
142
142
# define SECP256K1_API_VAR extern __declspec (dllexport)
143
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)
144
152
# elif defined _MSC_VER
145
153
# define SECP256K1_API
146
154
# define SECP256K1_API_VAR extern __declspec (dllimport)
You can’t perform that action at this time.
0 commit comments