aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 5dd1c34..a3f5948 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -535,6 +535,10 @@ extern void *realloc (void *, size_t);
#include <inttypes.h>
#endif
+#ifndef SIZE_MAX
+# define SIZE_MAX INTTYPE_MAXIMUM (size_t)
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif