qt5: Fix use of zlib

As Qt5 includes zlib as well, we have to use the same naming convention.
This commit is contained in:
Vincent van Ravesteijn 2012-12-29 17:29:15 +01:00
parent 900cbcd2ad
commit ba3332c62d

View File

@ -32,6 +32,10 @@
// 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