diff options
author | Mattias Andrée <maandree@kth.se> | 2021-07-05 01:07:35 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-07-05 01:21:28 +0200 |
commit | e4535303d2062b6d959d7ecd88ce97dd75684784 (patch) | |
tree | 3a5b30b99079fef3b42c2169af4d1dc5447ea1af /config.h | |
download | apsh-e4535303d2062b6d959d7ecd88ce97dd75684784.tar.gz apsh-e4535303d2062b6d959d7ecd88ce97dd75684784.tar.bz2 apsh-e4535303d2062b6d959d7ecd88ce97dd75684784.tar.xz |
First commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 13 |
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 |