diff system/System.h @ 1216:c811991a5efa msvc2015_64

MSVC build fixes
author Chris Cannam
date Tue, 18 Oct 2016 14:03:55 +0100
parents 6b1af0f05f06
children 6b847a59d908
line wrap: on
line diff
--- a/system/System.h	Tue Sep 20 09:16:13 2016 +0100
+++ b/system/System.h	Tue Oct 18 14:03:55 2016 +0100
@@ -59,6 +59,11 @@
 
 #define getpid _getpid
 
+#if defined(_MSC_VER)
+#include <BaseTsd.h>
+typedef SSIZE_T ssize_t;
+#endif
+
 extern "C" {
 /* usleep is now in mingw
 void usleep(unsigned long usec);