diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-04 20:06:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-04 20:06:33 +0000 |
commit | 745feacfd6eae7b4080d12bd739b0aec7dd14a96 (patch) | |
tree | fe113ffb390298e8f44b2038419bfb6f2be9eaed | |
parent | 5811862f233da478afb5b92f12d29ea34a3eda10 (diff) | |
download | external_llvm-745feacfd6eae7b4080d12bd739b0aec7dd14a96.zip external_llvm-745feacfd6eae7b4080d12bd739b0aec7dd14a96.tar.gz external_llvm-745feacfd6eae7b4080d12bd739b0aec7dd14a96.tar.bz2 |
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.in | 5 | ||||
-rw-r--r-- | include/llvm/Support/DataTypes.h.in | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/Support/DataTypes.h.in b/include/Support/DataTypes.h.in index 895aa93..0690ee7 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 895aa93..0690ee7 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) |