feather/contrib/depends/patches/utf8proc/force_static.patch

27 lines
613 B
Diff
Raw Normal View History

2023-10-10 12:56:22 +00:00
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" {