summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-04 20:06:33 +0000
committerChris Lattner <sabre@nondot.org>2004-06-04 20:06:33 +0000
commit745feacfd6eae7b4080d12bd739b0aec7dd14a96 (patch)
treefe113ffb390298e8f44b2038419bfb6f2be9eaed
parent5811862f233da478afb5b92f12d29ea34a3eda10 (diff)
downloadllvm-745feacfd6eae7b4080d12bd739b0aec7dd14a96.tar.gz
llvm-745feacfd6eae7b4080d12bd739b0aec7dd14a96.tar.bz2
llvm-745feacfd6eae7b4080d12bd739b0aec7dd14a96.tar.xz
Add ssize_t for VC++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14018 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/Support/DataTypes.h.in5
-rw-r--r--include/llvm/Support/DataTypes.h.in5
2 files changed, 6 insertions, 4 deletions
diff --git a/include/Support/DataTypes.h.in b/include/Support/DataTypes.h.in
index 895aa93509..0690ee7e58 100644
--- a/include/Support/DataTypes.h.in
+++ b/include/Support/DataTypes.h.in
@@ -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)
diff --git a/include/llvm/Support/DataTypes.h.in b/include/llvm/Support/DataTypes.h.in
index 895aa93509..0690ee7e58 100644
--- a/include/llvm/Support/DataTypes.h.in
+++ b/include/llvm/Support/DataTypes.h.in
@@ -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)