borgbackup/src/borg/algorithms/zstd-libselect.h
Thomas Waldmann 34b92ffdaa support code to build bundled zstd code into the compress extension
setup_zstd.py modified so it is just amending the Extension() kwargs,
but the Extension is initialized by the caller.

this way, amending can happend multiple times (e.g. for multiple
compression algorithms).

also:
- move include/library dirs processing for system-library case
- move system zstd prefix detection to setup_zstd module
- cosmetic: setup.py whitespace fixes
- prefer system zstd option, document zstd min. requirement
2017-12-15 00:29:26 +01:00

5 lines
82 B
C

#ifdef BORG_USE_LIBZSTD
#include <zstd.h>
#else
#include "zstd/lib/zstd.h"
#endif