A fork of https://github.com/crosspoint-reader/crosspoint-reader
1/*
2 * uzlib - tiny deflate/inflate library (deflate, gzip, zlib)
3 *
4 * Copyright (c) 2014-2018 by Paul Sokolovsky
5 */
6
7#ifndef UZLIB_CONF_H_INCLUDED
8#define UZLIB_CONF_H_INCLUDED
9
10#ifndef UZLIB_CONF_DEBUG_LOG
11/* Debug logging level 0, 1, 2, etc. */
12#define UZLIB_CONF_DEBUG_LOG 0
13#endif
14
15#ifndef UZLIB_CONF_PARANOID_CHECKS
16/* Perform extra checks on the input stream, even if they aren't proven
17 to be strictly required (== lack of them wasn't proven to lead to
18 crashes). */
19#define UZLIB_CONF_PARANOID_CHECKS 0
20#endif
21
22#ifndef UZLIB_CONF_USE_MEMCPY
23/* Use memcpy() for copying data out of LZ window or uncompressed blocks,
24 instead of doing this byte by byte. For well-compressed data, this
25 may noticeably increase decompression speed. But for less compressed,
26 it can actually deteriorate it (due to the fact that many memcpy()
27 implementations are optimized for large blocks of data, and have
28 too much overhead for short strings of just a few bytes). */
29#define UZLIB_CONF_USE_MEMCPY 0
30#endif
31
32#endif /* UZLIB_CONF_H_INCLUDED */