summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/archivefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/archivefactory.cpp')
-rw-r--r--src/libs/installer/archivefactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/archivefactory.cpp b/src/libs/installer/archivefactory.cpp
index 5bfabe943..56811d8e3 100644
--- a/src/libs/installer/archivefactory.cpp
+++ b/src/libs/installer/archivefactory.cpp
@@ -29,7 +29,7 @@
#include "archivefactory.h"
#ifdef IFW_LIBARCHIVE
#include "libarchivewrapper.h"
-#else
+#elif defined(IFW_LIB7Z)
#include "lib7zarchive.h"
#endif
@@ -144,7 +144,7 @@ ArchiveFactory::ArchiveFactory()
<< QLatin1String("tar") << QLatin1String("tar.gz") << QLatin1String("tar.bz2")
<< QLatin1String("tar.xz") << QLatin1String("zip") << QLatin1String("7z")
<< QLatin1String("qbsp"));
-#else
+#elif defined(IFW_LIB7Z)
registerArchive<Lib7zArchive>(QLatin1String("Lib7z"), QStringList()
<< QLatin1String("7z") << QLatin1String("qbsp"));
#endif