summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f349a6e)
raw | patch | inline | side by side (parent: f349a6e)
author | Aaron Ballman <aaron@aaronballman.com> | |
Thu, 4 Jul 2013 14:12:25 +0000 (14:12 +0000) | ||
committer | Aaron Ballman <aaron@aaronballman.com> | |
Thu, 4 Jul 2013 14:12:25 +0000 (14:12 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185627 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/DataTypes.h.cmake | patch | blob | history | |
include/llvm/Support/DataTypes.h.in | patch | blob | history |
index 7484abd3686877ba5b7b7c10f0d65e84421dcaed..1dcec0588fa1f5bb7c9f5e0b26f8e076d8c59b1d 100644 (file)
typedef unsigned short uint16_t;
typedef signed char int8_t;
typedef unsigned char uint8_t;
-typedef signed int ssize_t;
+#if defined(_WIN64)
+ typedef signed __int64 ssize_t;
+#else
+ typedef signed int ssize_t;
+#endif
#ifndef INT8_MAX
# define INT8_MAX 127
#endif
index b9fb48a1d498b2794f8e4f086ad8695b6c27f4b3..d6c38169504e69398c808c420c0fd555dad7dd3d 100644 (file)
typedef unsigned short uint16_t;
typedef signed char int8_t;
typedef unsigned char uint8_t;
-typedef signed int ssize_t;
+#if defined(_WIN64)
+ typedef signed __int64 ssize_t;
+#else
+ typedef signed long ssize_t;
+#endif
+
#ifndef INT8_MAX
# define INT8_MAX 127
#endif