]> git.sesse.net Git - vlc/commitdiff
Revert "Revert "win32: remove old attempts to define snprintf _snprintf""
authorDavid Flynn <davidf@woaf.net>
Fri, 10 Apr 2009 12:52:59 +0000 (12:52 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 10 Apr 2009 16:05:25 +0000 (18:05 +0200)
This reverts commit db01e438b2125e1a221535adc07eda1ae65b0769.

Original commit was correct. -- davidf

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
include/vlc_common.h

index e5fdd7f1d7ce7087858824197375a8db8e47b539..77881158cfc4f34f64154d7a9f840960e0513ad6 100644 (file)
@@ -783,14 +783,6 @@ VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) LIBVLC_US
 
 #   ifndef alloca
 #       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>