More whitespace cleanup and MPLv2 licensing support.

This commit is contained in:
Moinak Ghosh 2014-07-24 23:48:42 +05:30
parent 10f40e1c6f
commit c1411a6af6
4 changed files with 11 additions and 3 deletions

View file

@ -129,8 +129,12 @@ adapt_props(algo_props_t *data, int level, uint64_t chunksize)
data->delta2_span = 200;
data->deltac_min_distance = EIGHTM;
ext1 = lz4_buf_extra(chunksize);
#ifdef ENABLE_PC_LIBBSC
ext2 = libbsc_buf_extra(chunksize);
if (ext2 > ext1) ext1 = ext2;
#endif
data->buf_extra = ext1;
}

View file

@ -43,7 +43,11 @@
#include <pcompress.h>
#include <allocator.h>
#include <rabin_dedup.h>
#ifndef _MPLV2_LICENSE_
#include <lzp.h>
#endif
#include <transpose.h>
#include <delta2/delta2.h>
#include <crypto/crypto_utils.h>