summaryrefslogtreecommitdiff
path: root/Libraries/LibC
diff options
context:
space:
mode:
authorLuke <luke.wilde@live.co.uk>2020-09-09 08:21:51 +0100
committerAndreas Kling <kling@serenityos.org>2020-09-27 01:02:11 +0200
commitf2cc56567083cfc1b959d9fb01a0c592ef2b7c11 (patch)
treeb2dff0f0f909870d780de97e94938bf831e6273c /Libraries/LibC
parent83849f0ef380c05e83b4facbc9cf23f495c1eb2c (diff)
downloadserenity-f2cc56567083cfc1b959d9fb01a0c592ef2b7c11.zip
LibC: Add SSIZE_MAX limit
Diffstat (limited to 'Libraries/LibC')
-rw-r--r--Libraries/LibC/limits.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibC/limits.h b/Libraries/LibC/limits.h
index 71980f14b0..94c3c3f429 100644
--- a/Libraries/LibC/limits.h
+++ b/Libraries/LibC/limits.h
@@ -67,3 +67,5 @@
#define ARG_MAX 65536
#define PTHREAD_STACK_MIN 65536
+
+#define SSIZE_MAX 2147483647