summaryrefslogtreecommitdiff
path: root/nt/inc/stdint.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-11-20 19:07:55 +0200
committerEli Zaretskii <eliz@gnu.org>2012-11-20 19:07:55 +0200
commit3b0108c5ba5d2bae34877a7cf499a84f814c22ee (patch)
treed7636f989a73cb44af71a7ed56d1e94171a32511 /nt/inc/stdint.h
parent4ffea4478002db1df699a563477ec06000628e77 (diff)
downloademacs-3b0108c5ba5d2bae34877a7cf499a84f814c22ee.tar.gz
Yet more fixes for bug #12878 with MSVC build.
nt/inc/stdint.h (INTPTR_MIN): Define for MSVC.
Diffstat (limited to 'nt/inc/stdint.h')
-rw-r--r--nt/inc/stdint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nt/inc/stdint.h b/nt/inc/stdint.h
index edb0469eb87..97c9bbdaee9 100644
--- a/nt/inc/stdint.h
+++ b/nt/inc/stdint.h
@@ -37,6 +37,7 @@ typedef unsigned __int64 uint64_t;
#define INT64_MAX 9223372036854775807i64
#define INT64_MIN (~INT64_MAX)
#define INTPTR_MAX INT64_MAX
+#define INTPTR_MIN INT64_MIN
#define UINTMAX_MAX UINT64_MAX
#define UINTMAX_MIN UINT64_MIN
#define INTMAX_MAX INT64_MAX
@@ -51,6 +52,7 @@ typedef unsigned int uint32_t;
#define INT32_MAX 2147483647
#define INT32_MIN (~INT32_MAX)
#define INTPTR_MAX INT32_MAX
+#define INTPTR_MIN INT32_MIN
#define UINTMAX_MAX UINT32_MAX
#define UINTMAX_MIN UINT32_MIN
#define INTMAX_MAX INT32_MAX