xz: Refactor thousand separator detection and disable it on MSVC.
commiteccf12866527b8d24c7d7f92f755142be8ef9b11
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 31 Aug 2023 16:50:05 +0000 (31 19:50 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 31 Aug 2023 16:50:05 +0000 (31 19:50 +0300)
tree139135f318b8d1d32703488181bd9d80ef1951ec
parentf7093cd9d130477c234b40aeda613964171f8f21
xz: Refactor thousand separator detection and disable it on MSVC.

Now the two variations of the format strings are created with
a macro, and the whole detection code can be easily disabled
on platforms where thousand separator formatting is known to
not work (MSVC has no support, and on DJGPP 2.05 it can have
problems in some cases).
src/xz/util.c