[vlc-devel] commit: Win32: disable sprintf wrapper for %z (Pierre Ynard )
git version control
git at videolan.org
Wed Mar 11 20:35:18 CET 2009
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Mar 11 12:13:18 2009 +0100| [9fc77f32be5c2dee011c4f970286e434216ce1f1] | committer: 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: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9fc77f32be5c2dee011c4f970286e434216ce1f1
---
include/vlc_fixups.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index e6906e9..15172b2 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -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, ...)
{
More information about the vlc-devel
mailing list