summaryrefslogtreecommitdiff
path: root/nt/inc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-05-16 20:31:25 +0300
committerEli Zaretskii <eliz@gnu.org>2013-05-16 20:31:25 +0300
commit721c9e8a682721c6010c4c685764cd2359baf46b (patch)
tree5c91f55374507b8558c897b3b2031baae79bf88a /nt/inc
parent49b45d5c7cac9034876e9f8019c6281e05998113 (diff)
downloademacs-721c9e8a682721c6010c4c685764cd2359baf46b.tar.gz
Define SIZE_MAX for MSVC, part of bug #14409.
nt/inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.
Diffstat (limited to 'nt/inc')
-rw-r--r--nt/inc/stdint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nt/inc/stdint.h b/nt/inc/stdint.h
index c8b3aba0916..c9548c00e11 100644
--- a/nt/inc/stdint.h
+++ b/nt/inc/stdint.h
@@ -65,6 +65,7 @@ typedef unsigned int uint32_t;
#define PTRDIFF_MAX INTPTR_MAX
#define PTRDIFF_MIN INTPTR_MIN
+#define SIZE_MAX UINTPTR_MAX
#endif /* !__GNUC__ */