Add ssize_t for VC++
authorChris Lattner <sabre@nondot.org>
Fri, 4 Jun 2004 20:06:33 +0000 (20:06 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 4 Jun 2004 20:06:33 +0000 (20:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14018 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/DataTypes.h.in
include/llvm/Support/DataTypes.h.in

index 895aa93509c556ac87a760fa65805bcf7f9909bd..0690ee7e58f9a81d02e2ce25fabf2b3ccc1db0df 100644 (file)
@@ -39,8 +39,9 @@
 // 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)
index 895aa93509c556ac87a760fa65805bcf7f9909bd..0690ee7e58f9a81d02e2ce25fabf2b3ccc1db0df 100644 (file)
@@ -39,8 +39,9 @@
 // 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)