Discussion:
[libdvdcss-devel] Fix compilation with MSVC
Jean-Baptiste Kempf
2013-02-14 00:43:12 UTC
Permalink
libdvdcss | branch: master | Jean-Baptiste Kempf <***@videolan.org> | Thu Feb 14 01:42:14 2013 +0100| [1517e70fbb0a94e75e9c2032a92f0b90b4026913] | committer: Jean-Baptiste Kempf

Fix compilation with MSVC
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=1517e70fbb0a94e75e9c2032a92f0b90b4026913
---

src/common.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/common.h b/src/common.h
index be305a3..943526c 100644
--- a/src/common.h
+++ b/src/common.h
@@ -70,6 +70,7 @@ typedef __int64 off_t;
# define off_t __int64
# endif
# define stat _stati64
+# define snprintf _snprintf
# endif

#endif

Loading...