aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..70d9731
--- /dev/null
+++ b/config.h
@@ -0,0 +1,13 @@
+/* See LICENSE file for copyright and license details. */
+
+#ifndef PARSE_RINGBUFFER_MIN_AVAILABLE
+# define PARSE_RINGBUFFER_MIN_AVAILABLE 512
+#endif
+
+#ifndef PARSE_RINGBUFFER_INCREASE_SIZE
+# define PARSE_RINGBUFFER_INCREASE_SIZE 4096
+#endif
+
+#if PARSE_RINGBUFFER_INCREASE_SIZE < PARSE_RINGBUFFER_MIN_AVAILABLE
+# error PARSE_RINGBUFFER_INCREASE_SIZE may noy be less than PARSE_RINGBUFFER_MIN_AVAILABLE
+#endif