Merge pull request #105 from merlin1991/qdatastream
[quassel.git] / src / common / compressor.h
index 85817f1..eedc545 100644 (file)
@@ -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  *
 
 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
 {