From: Dymphna Date: Sat, 15 Nov 2025 01:42:42 +0000 (-0600) Subject: Allow manually defining symbol visibility in static builds. (#313) X-Git-Tag: archive/raspbian/2.11.3-2+rpi1^2~10^2^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=96e9b86dc73ecf49fc548b9e6fd9a27839d0f842;p=utf8proc.git Allow manually defining symbol visibility in static builds. (#313) --- 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