[vlc-devel] [PATCH 4/4] win32: remove old attempts to define snprintf _snprintf

davidf+nntp at woaf.net davidf+nntp at woaf.net
Wed Apr 1 23:40:05 CEST 2009


From: David Flynn <davidf at rd.bbc.co.uk>

fixup code handles this now.

Signed-off-by: David Flynn <davidf at rd.bbc.co.uk>
---
 include/vlc_common.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index e5fdd7f..7788115 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -785,14 +785,6 @@ VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) LIBVLC_US
 #       define alloca _alloca
 #   endif
 
-    /* These two are not defined in mingw32 (bug?) */
-#   ifndef snprintf
-#       define snprintf _snprintf
-#   endif
-#   ifndef vsnprintf
-#       define vsnprintf _vsnprintf
-#   endif
-
 #   include <tchar.h>
 #endif
 
-- 
1.5.6.5




More information about the vlc-devel mailing list