Commit 168fb22d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Neuter a bit more of libvgz

parent 59aa4858
...@@ -833,6 +833,8 @@ int ZEXPORT deflate (strm, flush) ...@@ -833,6 +833,8 @@ int ZEXPORT deflate (strm, flush)
/* Write the header */ /* Write the header */
if (s->status == INIT_STATE) { if (s->status == INIT_STATE) {
#ifdef NOVGZ
abort();
/* zlib header */ /* zlib header */
uInt header = (Z_DEFLATED + ((s->w_bits-8)<<4)) << 8; uInt header = (Z_DEFLATED + ((s->w_bits-8)<<4)) << 8;
uInt level_flags; uInt level_flags;
...@@ -865,6 +867,7 @@ int ZEXPORT deflate (strm, flush) ...@@ -865,6 +867,7 @@ int ZEXPORT deflate (strm, flush)
s->last_flush = -1; s->last_flush = -1;
return Z_OK; return Z_OK;
} }
#endif
} }
#ifdef GZIP #ifdef GZIP
if (s->status == GZIP_STATE) { if (s->status == GZIP_STATE) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment