diff options
author | Pierre Joye <pierre.php@gmail.com> | 2021-08-23 17:15:15 +0700 |
---|---|---|
committer | Pierre Joye <pierre.php@gmail.com> | 2021-08-23 17:15:15 +0700 |
commit | d4d9975b05d39928b6d2d529b0c8d9a9d97f7ab1 (patch) | |
tree | e960b1b3f2c9fdc2b8df10118d9d4df6f356b598 /src | |
parent | 0143009716b0df66ef0494b02db39ff55d4460d3 (diff) | |
download | libgd-d4d9975b05d39928b6d2d529b0c8d9a9d97f7ab1.tar.gz |
recent VC has stdint
Diffstat (limited to 'src')
-rw-r--r-- | src/gd_intern.h | 3 | ||||
-rw-r--r-- | src/msinttypes/stdint.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gd_intern.h b/src/gd_intern.h index f8f3b5d..254e144 100644 --- a/src/gd_intern.h +++ b/src/gd_intern.h @@ -28,6 +28,9 @@ # include "msinttypes/inttypes.h" # endif #endif +#ifdef _MSC_VER +typedef SSIZE_T ssize_t; +#endif #include "gd.h" diff --git a/src/msinttypes/stdint.h b/src/msinttypes/stdint.h index d169d91..c66fbb8 100644 --- a/src/msinttypes/stdint.h +++ b/src/msinttypes/stdint.h @@ -110,8 +110,6 @@ 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; |