summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/stddef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/stddef.h b/src/include/stddef.h
index 484017daf3..82d38c3997 100644
--- a/src/include/stddef.h
+++ b/src/include/stddef.h
@@ -7,6 +7,7 @@
typedef __PTRDIFF_TYPE__ ptrdiff_t;
typedef __SIZE_TYPE__ size_t;
+#define SIZE_MAX __SIZE_MAX__
/* There is a GCC macro for a size_t type, but not
* for a ssize_t type. Below construct tricks GCC
* into making __SIZE_TYPE__ signed.