X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fxpress.h;fp=include%2Fwimlib%2Fxpress.h;h=2b57bae7a05bca34e21e31de049f4bbed6e71cc8;hb=4757f17833c96b8c83a7e17cbc6f374c449d60db;hp=c07dbae859aedebcf74d774e643068c387eed207;hpb=aa0fe426c4b37b29aa70741084ba516da63dd479;p=wimlib diff --git a/include/wimlib/xpress.h b/include/wimlib/xpress.h index c07dbae8..2b57bae7 100644 --- a/include/wimlib/xpress.h +++ b/include/wimlib/xpress.h @@ -1,13 +1,16 @@ #ifndef _WIMLIB_XPRESS_H #define _WIMLIB_XPRESS_H -/* See the comments in xpress-decompress.c about the XPRESS format. */ +/* Constants for the XPRESS data compression format. See the comments in + * xpress-decompress.c for more information about this format. */ //#define ENABLE_XPRESS_DEBUG #ifdef ENABLE_XPRESS_DEBUG # define XPRESS_DEBUG DEBUG +# define XPRESS_ASSERT wimlib_assert #else # define XPRESS_DEBUG(format, ...) +# define XPRESS_ASSERT(...) #endif #define XPRESS_NUM_CHARS 256 @@ -20,7 +23,7 @@ #define XPRESS_MIN_OFFSET 1 #define XPRESS_MAX_OFFSET 65535 -#define XPRESS_MIN_MATCH 3 -#define XPRESS_MAX_MATCH 65538 +#define XPRESS_MIN_MATCH_LEN 3 +#define XPRESS_MAX_MATCH_LEN 65538 #endif /* _WIMLIB_XPRESS_H */