From: Chris Lattner Date: Fri, 4 Jun 2004 20:06:33 +0000 (+0000) Subject: Add ssize_t for VC++ X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=745feacfd6eae7b4080d12bd739b0aec7dd14a96;p=oota-llvm.git Add ssize_t for VC++ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14018 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Support/DataTypes.h.in b/include/Support/DataTypes.h.in index 895aa93509c..0690ee7e58f 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 895aa93509c..0690ee7e58f 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)