[vlc-commits] Win32: always use mingw's snprintf

Jean-Baptiste Kempf git at videolan.org
Mon Oct 31 00:42:30 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Oct 29 12:01:34 2011 +0200| [69f5eeae3da75c81a7be56855e37d046aae5ea75] | committer: Jean-Baptiste Kempf

Win32: always use mingw's snprintf

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

 include/vlc_common.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index a752692..791762f 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -76,6 +76,8 @@
  #define PRIo64 "llo"
  #undef PRIx64
  #define PRIx64 "llx"
+ #define snprintf __mingw_snprintf
+ #define vsnprintf __mingw_vsnprintf
 #endif
 
 /* Function attributes for compiler warnings */



More information about the vlc-commits mailing list