X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fxpress_compress.c;fp=src%2Fxpress_compress.c;h=7020a88bba7013affb6ccfcf05ee7970e89a8d18;hp=5298af64ddb342e8598ee090cef50d48393738c8;hb=7e71e0ea5e7c2958cef2cc3522367a7da82e4728;hpb=d8e480965ce86bad5d7fb23b10f86ffac2aa0613 diff --git a/src/xpress_compress.c b/src/xpress_compress.c index 5298af64..7020a88b 100644 --- a/src/xpress_compress.c +++ b/src/xpress_compress.c @@ -46,10 +46,10 @@ #define MIN_LEVEL_FOR_NEAR_OPTIMAL 60 /* - * The maximum window order for the matchfinder. This must be the base 2 - * logarithm of the maximum buffer size. + * Matchfinder definitions. For XPRESS, only a 16-bit matchfinder is needed. */ -#define MATCHFINDER_MAX_WINDOW_ORDER 16 +#define pos_t u16 +#define MF_SUFFIX /* * Note: although XPRESS can potentially use a sliding window, it isn't well @@ -59,8 +59,6 @@ * optimizations. */ -#include - #include "wimlib/bitops.h" #include "wimlib/compress_common.h" #include "wimlib/compressor_ops.h"