[libdvdcss-devel] [PATCH] msvc: Add definition for ssize_t

Diego Biurrun <[email protected]>
Newsgroups gmane.comp.video.videolan.libdvdcss,gmane.comp.video.videolan.libdvdcss.devel
Message-ID <[email protected]>
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

_______________________________________________
libdvdcss-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvdcss-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.