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

davidf+nntp at woaf.net davidf+nntp at woaf.net
Fri Apr 10 14:52:59 CEST 2009


From: David Flynn <davidf at woaf.net>

This reverts commit db01e438b2125e1a221535adc07eda1ae65b0769.

Original commit was correct. -- davidf

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