We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f30c748 commit bc7c8dbCopy full SHA for bc7c8db
include/secp256k1.h
@@ -133,8 +133,9 @@ typedef int (*secp256k1_nonce_function)(
133
# define SECP256K1_NO_BUILD
134
#endif
135
136
-/* Symbol visibility. See libtool manual, section "Windows DLLs". */
137
-#if defined(_WIN32) && !defined(__GNUC__)
+/* Symbol visibility. See https://gcc.gnu.org/wiki/Visibility */
+/* DLL_EXPORT is defined internally for shared builds */
138
+#if defined(_WIN32)
139
# ifdef SECP256K1_BUILD
140
# ifdef DLL_EXPORT
141
# define SECP256K1_API __declspec (dllexport)
0 commit comments