1
0
mirror of https://git.tukaani.org/xz.git synced 2025-03-02 14:40:40 +00:00
Lasse Collin 5ae7958dbc
Windows: Disable MinGW-w64's stdio functions in size-optimized builds
This only affects builds with UCRT. With legacy MSVCRT, the replacement
functions are always enabled.

Omitting the MinGW-w64 replacements saves over 20 KiB per executable.
The downside is that --enable-small or XZ_SMALL=ON disables thousand
separator support in xz messages. If someone is OK with the slower
speed of slightly smaller builds, lack of thousand separators won't
matter.

Don't override __USE_MINGW_ANSI_STDIO if it is already defined (via
CPPFLAGS or such method).

(cherry picked from commit 4eae859ae8ad7072eaa74aeaee79a2c3c12c55cb)
2025-01-22 15:39:57 +02:00
..
2024-09-18 20:53:11 +03:00
2024-05-23 11:36:05 +03:00