[vlc-devel] commit: Revert "Revert "win32: remove old attempts to define snprintf _snprintf"" (David Flynn )

git version control git at videolan.org
Fri Apr 10 18:05:32 CEST 2009


vlc | branch: master | David Flynn <davidf at woaf.net> | Fri Apr 10 12:52:59 2009 +0000| [6bcbeed3e0e132b34c6bc7ba93bdb038b0b69f88] | committer: Jean-Baptiste Kempf 

Revert "Revert "win32: remove old attempts to define snprintf _snprintf""

This reverts commit db01e438b2125e1a221535adc07eda1ae65b0769.

Original commit was correct. -- davidf

Signed-off-by: David Flynn <davidf at rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6bcbeed3e0e132b34c6bc7ba93bdb038b0b69f88
---

 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
 




More information about the vlc-devel mailing list