summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nt/ChangeLog2
-rw-r--r--nt/inc/stdint.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 80b6390d368..ebda94e80f3 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,5 +1,7 @@
2013-05-16 Eli Zaretskii <eliz@gnu.org>
+ * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define. (Bug#14409)
+
* msysconfig.sh: New file.
* mingw-cfg.site: New file.
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__ */