X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompressor.h;h=eedc545a1bb90c931076065ef6045bfc980c7875;hp=85817f1f3f6a3ef794e425669e82de0d1a0d2485;hb=e56629542168c203cac8504085fc96c7f7b73d90;hpb=bdb3b8a3086fcd871d2a099fa4a40376f4040e6e diff --git a/src/common/compressor.h b/src/common/compressor.h index 85817f1f..eedc545a 100644 --- a/src/common/compressor.h +++ b/src/common/compressor.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -25,7 +25,11 @@ class QTcpSocket; -typedef struct mz_stream_s *z_streamp; +#ifdef HAVE_ZLIB + typedef struct z_stream_s *z_streamp; +#else + typedef struct mz_stream_s *z_streamp; +#endif class Compressor : public QObject {