|
Hi Xavier,
I noticed in 3.08 there is a new #define for
enabling/disabling using the zlib to handle compressed
pages. In the 'lib' dir for the API example, you have
#define HTS_USEZLIB 0
I suppose to turn this off by default.
However, when you test the define, you use
#ifdef HTS_USEZLIB
rather than
#if HTS_USEZLIB
so the test is always true whether HTS_USEZLIB is set
to 0 or to 1.
Was this on purpose or should the
#ifdef HTS_USEZLIB
be changed to
#if HTS_USEZLIB
???
Note, you can't just #undef or not define HTS_USEZLIB
because if it isn't defined you define it htsglobal.h
thanks,
john
| |