From ba3332c62d5ff4eb255c78cebc041f8186ecaa5f Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 29 Dec 2012 17:29:15 +0100 Subject: [PATCH] qt5: Fix use of zlib As Qt5 includes zlib as well, we have to use the same naming convention. --- src/support/gzstream.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/support/gzstream.h b/src/support/gzstream.h index 858784dae9..01658ec341 100644 --- a/src/support/gzstream.h +++ b/src/support/gzstream.h @@ -32,6 +32,10 @@ // standard C++ with new header file names and std:: namespace #include #include +#include +#if (defined Q_OS_WIN && QT_VERSION >= 0x050000) +#define Z_PREFIX 1 +#endif #include // For LyX -- 2.39.2