feather/contrib/depends/patches/utf8proc/force_static.patch
2023-10-10 14:56:22 +02:00

26 lines
613 B
Diff

diff --git a/utf8proc.h b/utf8proc.h
index 7ec591d..024343b 100644
--- a/utf8proc.h
+++ b/utf8proc.h
@@ -120,21 +120,7 @@ typedef bool utf8proc_bool;
#endif
#include <limits.h>
-#ifdef UTF8PROC_STATIC
# define UTF8PROC_DLLEXPORT
-#else
-# ifdef _WIN32
-# ifdef UTF8PROC_EXPORTS
-# define UTF8PROC_DLLEXPORT __declspec(dllexport)
-# else
-# define UTF8PROC_DLLEXPORT __declspec(dllimport)
-# endif
-# elif __GNUC__ >= 4
-# define UTF8PROC_DLLEXPORT __attribute__ ((visibility("default")))
-# else
-# define UTF8PROC_DLLEXPORT
-# endif
-#endif
#ifdef __cplusplus
extern "C" {