git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185627
91177308-0d34-0410-b5e6-
96231b3b80d8
typedef unsigned short uint16_t;
typedef signed char int8_t;
typedef unsigned char uint8_t;
-typedef signed int ssize_t;
+#if defined(_WIN64)
+ typedef signed __int64 ssize_t;
+#else
+ typedef signed int ssize_t;
+#endif
#ifndef INT8_MAX
# define INT8_MAX 127
#endif
typedef unsigned short uint16_t;
typedef signed char int8_t;
typedef unsigned char uint8_t;
-typedef signed int ssize_t;
+#if defined(_WIN64)
+ typedef signed __int64 ssize_t;
+#else
+ typedef signed long ssize_t;
+#endif
+
#ifndef INT8_MAX
# define INT8_MAX 127
#endif