To get the "old" swprintf() declaration with all versions of MinGW, at
least until the code is fixed to use the standard form, define
_CRT_NON_CONFORMING_SWPRINTFS.
WINDOWS_NATIVE_BUILD="yes"
VISIBILITY_CFLAGS=""
WINDOWS_CFLAGS="-municode"
- WINDOWS_CPPFLAGS="-D_POSIX -DUNICODE -D_UNICODE"
+ WINDOWS_CPPFLAGS="-D_POSIX -DUNICODE -D_UNICODE -D_CRT_NON_CONFORMING_SWPRINTFS"
WINDOWS_LDFLAGS="-no-undefined"
WINDOWS_LDADD="-lshlwapi"
ENABLE_XATTR_DEFAULT="no"
# define tmempcpy wmempcpy
# define tstrcpy wcscpy
# define tprintf wprintf
-# define tsprintf _swprintf
+# define tsprintf swprintf
# define tfprintf fwprintf
# define tvfprintf vfwprintf
# define istalpha iswalpha