mercurial/compat.h
changeset 29521 83147ff53112
parent 29444 284d742e5611
child 29549 7b22599dcb85
--- a/mercurial/compat.h	Sat Jul 09 23:04:03 2016 -0400
+++ b/mercurial/compat.h	Mon Jul 11 13:53:35 2016 +0200
@@ -5,6 +5,11 @@
 #ifdef _MSC_VER
 /* msvc 6.0 has problems */
 #define inline __inline
+#if defined(_WIN64)
+typedef __int64 ssize_t;
+#else
+typedef long ssize_t;
+#endif
 typedef signed char int8_t;
 typedef short int16_t;
 typedef long int32_t;