Overview
| Artifact ID: | 365996595211ce1a0b5009590de627d344253130f8339d999c78a155db9bc556 |
|---|---|
| Ticket: | 84e8a94613b8cc3faf1b080c01c5ace981e9e9db
trunk does not compile (link) on my Windows |
| User & Date: | sl1200mk2 on 2025-09-11 08:26:17 |
Changes
- icomment:
this makes my compiler happy: --- /Users/nico/Downloads/tcl-original/utf8proc/utf8proc.h 2025-09-10 17:11:20 +++ /Users/nico/Downloads/tcl-mod/utf8proc/utf8proc.h 2025-09-11 10:17:17 @@ -76,6 +76,11 @@ #define UTF8PROC_VERSION_PATCH 0 /** @} */ +/* Tcl Windows build - force static */ +#if defined(_WIN32) && !defined(UTF8PROC_STATIC) +#define UTF8PROC_STATIC +#endif + #include <stdlib.h> #if defined(_MSC_VER) && _MSC_VER < 1800 @@ -129,7 +134,7 @@ # else # define UTF8PROC_DLLEXPORT __declspec(dllimport) # endif -# elif __GNUC__ >= 4 +# elif defined(__GNUC__) && __GNUC__ >= 4 && !defined(_WIN32) # define UTF8PROC_DLLEXPORT __attribute__ ((visibility("default"))) # else # define UTF8PROC_DLLEXPORT - login: "sl1200mk2"
- mimetype: "text/plain"