summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-10 11:39:21 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-10 11:39:21 +0100
commit31079061f125e7d8c152e3f6459fe2e3ec06a77d (patch)
treec6e873ce1f8474cd68357c30e50c9c43d481d7ef /src/config.h
parentd671ea83612bcb683e675c041392922e66e57e58 (diff)
running on osx
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index efc64cb..2d58c10 100644
--- a/src/config.h
+++ b/src/config.h
@@ -4,6 +4,8 @@
#define MAX_INPUT_LENGTH 32767
#elif defined(__linux__)
#define MAX_INPUT_LENGTH 4096
+#elif defined(__APPLE__)
+#define MAX_INPUT_LENGTH 1024
#endif
#define MAX_ERROR_MESSAGE_LENGTH (MAX_INPUT_LENGTH)