|
|
@ -120,16 +120,20 @@ typedef bool utf8proc_bool; |
|
|
|
#endif |
|
|
|
#include <limits.h> |
|
|
|
|
|
|
|
#ifdef _WIN32 |
|
|
|
# ifdef UTF8PROC_EXPORTS |
|
|
|
# define UTF8PROC_DLLEXPORT __declspec(dllexport) |
|
|
|
#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 __declspec(dllimport) |
|
|
|
# define UTF8PROC_DLLEXPORT |
|
|
|
# endif |
|
|
|
#elif __GNUC__ >= 4 |
|
|
|
# define UTF8PROC_DLLEXPORT __attribute__ ((visibility("default"))) |
|
|
|
#else |
|
|
|
# define UTF8PROC_DLLEXPORT |
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|