From 6c26e4ce0c578d53eba9e8d6273c684ac1945328 Mon Sep 17 00:00:00 2001 From: Emma Jane Bonestell Date: Fri, 14 Nov 2025 16:03:28 -0600 Subject: [PATCH] Allow manually defining symbol visibility in static builds. --- utf8proc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utf8proc.h b/utf8proc.h index 569a21d..7619949 100644 --- a/utf8proc.h +++ b/utf8proc.h @@ -121,7 +121,9 @@ typedef bool utf8proc_bool; #include #ifdef UTF8PROC_STATIC -# define UTF8PROC_DLLEXPORT +# ifndef UTF8PROC_DLLEXPORT +# define UTF8PROC_DLLEXPORT +# endif #else # ifdef _WIN32 # ifdef UTF8PROC_EXPORTS