static.patch 507 B

12345678910111213141516171819
  1. --- a/utf8proc.h
  2. +++ b/utf8proc.h
  3. @@ -120,15 +120,1 @@ typedef bool utf8proc_bool;
  4. -#ifdef UTF8PROC_STATIC
  5. -# define UTF8PROC_DLLEXPORT
  6. -#else
  7. -# ifdef _WIN32
  8. -# ifdef UTF8PROC_EXPORTS
  9. -# define UTF8PROC_DLLEXPORT __declspec(dllexport)
  10. -# else
  11. -# define UTF8PROC_DLLEXPORT __declspec(dllimport)
  12. -# endif
  13. -# elif __GNUC__ >= 4
  14. -# define UTF8PROC_DLLEXPORT __attribute__ ((visibility("default")))
  15. -# else
  16. -# define UTF8PROC_DLLEXPORT
  17. -# endif
  18. -#endif
  19. +#define UTF8PROC_DLLEXPORT