From 828ef46fc609f2011bc763e2537330bb3cdcea8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Wed, 19 Sep 2018 11:46:52 +0200 Subject: [PATCH] Make sure that QtCore is available before using Qt macros. --- compressed_archive/compressed_archive.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compressed_archive/compressed_archive.cpp b/compressed_archive/compressed_archive.cpp index 91e4bf6b..e9fde00c 100644 --- a/compressed_archive/compressed_archive.cpp +++ b/compressed_archive/compressed_archive.cpp @@ -1,4 +1,5 @@ -#ifdef Q_OS_UNIX +#include +#ifndef Q_OS_WIN #include "libp7zip/CPP/Common/MyInitGuid.h" #endif