summaryrefslogtreecommitdiffstats
path: root/src/tools/qcstring.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-03-15 15:32:40 +0100
committerAlexander Golubev <fatzer2@gmail.com>2024-03-08 14:50:56 +0300
commitf696b7c31f1ea08f0a98fd7201cea9e2e4492ed5 (patch)
treeea0bdd7feceb14ad466b432b513721bd0f2d065c /src/tools/qcstring.cpp
parentfad4acbe084403340bb0ee6979ea18db464e7085 (diff)
downloadtqt-f696b7c31f1ea08f0a98fd7201cea9e2e4492ed5.tar.gz
tqt-f696b7c31f1ea08f0a98fd7201cea9e2e4492ed5.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/tools/qcstring.cpp')
-rw-r--r--src/tools/qcstring.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tools/qcstring.cpp b/src/tools/qcstring.cpp
index 83e351a23..67a831970 100644
--- a/src/tools/qcstring.cpp
+++ b/src/tools/qcstring.cpp
@@ -39,6 +39,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "ntqstring.h"
#include "ntqregexp.h"
#include "ntqdatastream.h"
@@ -52,7 +56,10 @@
#include <stdlib.h>
#include <ctype.h>
#include <limits.h>
-#ifndef TQT_NO_COMPRESS
+
+#ifdef HAVE_ZLIB_H
+#include <zlib.h>
+#else
#include "../3rdparty/zlib/zlib.h"
#endif