Use system zlib if available
[quassel.git] / src / common / compressor.h
index 85817f1..d910322 100644 (file)
 
 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
 {