summaryrefslogtreecommitdiff
path: root/src/msinttypes
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2021-08-23 17:05:36 +0700
committerPierre Joye <pierre.php@gmail.com>2021-08-23 17:05:36 +0700
commit0143009716b0df66ef0494b02db39ff55d4460d3 (patch)
tree078363973d2c3b787578fd3cb11264076e62c6f1 /src/msinttypes
parentc425bc494cf4dd53dfedc0af820060d482be507e (diff)
downloadlibgd-0143009716b0df66ef0494b02db39ff55d4460d3.tar.gz
let define ssize_t here on windows
Diffstat (limited to 'src/msinttypes')
-rw-r--r--src/msinttypes/stdint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/msinttypes/stdint.h b/src/msinttypes/stdint.h
index c66fbb8..d169d91 100644
--- a/src/msinttypes/stdint.h
+++ b/src/msinttypes/stdint.h
@@ -110,6 +110,8 @@ typedef uint16_t uint_fast16_t;
typedef uint32_t uint_fast32_t;
typedef uint64_t uint_fast64_t;
+typedef SSIZE_T ssize_t;
+
// 7.18.1.4 Integer types capable of holding object pointers
#ifdef _WIN64 // [
typedef signed __int64 intptr_t;