Discussion:
[libdvdcss-devel] [PATCH] msvc: Add definition for ssize_t
Diego Biurrun
2014-11-02 20:49:00 UTC
Permalink
MSVC still lacks proper support for ssize_t even in the 2013 version.
---
src/common.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/common.h b/src/common.h
index 3e12345..99cb047 100644
--- a/src/common.h
+++ b/src/common.h
@@ -70,6 +70,7 @@ typedef __int64 off_t;
# else
# define off_t __int64
# endif
+# define ssize_t SSIZE_T
# define stat _stati64
# define snprintf _snprintf
# define strdup _strdup
--
1.9.1
Jean-Baptiste Kempf
2014-11-02 20:53:53 UTC
Permalink
Post by Diego Biurrun
MSVC still lacks proper support for ssize_t even in the 2013 version.
And in the 2014 one too.
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
Diego Biurrun
2014-11-03 08:12:36 UTC
Permalink
libdvdcss | branch: master | Diego Biurrun <***@biurrun.de> | Sun Nov 2 21:47:12 2014 +0100| [be12431849472c9aa483aea8ddf176a763bef1dc] | committer: Diego Biurrun

msvc: Add definition for ssize_t

MSVC still lacks proper support for ssize_t even in the 2013 version.
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=be12431849472c9aa483aea8ddf176a763bef1dc
---

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

diff --git a/src/common.h b/src/common.h
index 3e12345..99cb047 100644
--- a/src/common.h
+++ b/src/common.h
@@ -70,6 +70,7 @@ typedef __int64 off_t;
# else
# define off_t __int64
# endif
+# define ssize_t SSIZE_T
# define stat _stati64
# define snprintf _snprintf
# define strdup _strdup

Loading...