// built-in data types.
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
-typedef int int32_t;
-typedef unsigned uint32_t;
+typedef signed int int32_t;
+typedef unsigned int uint32_t;
+typedef signed int ssize_t;
#endif
#if !defined(INT64_MAX)
// built-in data types.
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
-typedef int int32_t;
-typedef unsigned uint32_t;
+typedef signed int int32_t;
+typedef unsigned int uint32_t;
+typedef signed int ssize_t;
#endif
#if !defined(INT64_MAX)