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

git version control git at videolan.org
Fri Apr 3 12:53:48 CEST 2009


vlc | branch: master | David Flynn <davidf at rd.bbc.co.uk> | Wed Apr  1 21:40:05 2009 +0000| [3bceb9cfef124ace40526336905a2a0656bb5630] | committer: Jean-Baptiste Kempf 

win32: remove old attempts to define snprintf _snprintf

fixup code handles this now.

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=3bceb9cfef124ace40526336905a2a0656bb5630
---

 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