aboutsummaryrefslogtreecommitdiffstats
path: root/custom.h
diff options
context:
space:
mode:
Diffstat (limited to 'custom.h')
-rw-r--r--custom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom.h b/custom.h
index d2e11eae..66e755de 100644
--- a/custom.h
+++ b/custom.h
@@ -48,7 +48,7 @@
#define _GNU_SOURCE 1
#endif /* _GNU_SOURCE */
#ifndef SIZE_MAX
-#define SIZE_MAX __INT32_MAX
+#define SIZE_MAX (__UINT32_MAX)
#endif /* SIZE_MAX */
#define ULONG_WIDTH 32
#ifndef __VAX