]> git.lyx.org Git - lyx.git/blobdiff - src/support/gzstream.h
qt5: Fix use of zlib
[lyx.git] / src / support / gzstream.h
index 858784dae94ea018a2e9dc2546924c439fc35712..01658ec341f17bbb52b5033c010b09317d8f6c6d 100644 (file)
 // standard C++ with new header file names and std:: namespace
 #include <iostream>
 #include <fstream>
+#include <QtCore>
+#if (defined Q_OS_WIN && QT_VERSION >= 0x050000)
+#define Z_PREFIX 1
+#endif
 #include <zlib.h>
 
 // For LyX