Commit 9fc77f32 authored by Pierre Ynard's avatar Pierre Ynard Committed by Rémi Denis-Courmont

Win32: disable sprintf wrapper for %z

The macros are indeed a little bit too intrusive, and break calls to
QString::sprintf
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 3d230637
......@@ -152,6 +152,7 @@ static inline int vlc_fprintf (FILE *stream, const char *format, ...)
}
# define fprintf vlc_fprintf
#if 0
static inline int vlc_sprintf (char *str, const char *format, ...)
{
va_list ap;
......@@ -162,6 +163,7 @@ static inline int vlc_sprintf (char *str, const char *format, ...)
return ret;
}
# define sprintf vlc_sprintf
#endif
static inline int vlc_snprintf (char *str, size_t size, const char *format, ...)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment