From 7be40fc073a16943e80ca22375b8a074ea45ae9a Mon Sep 17 00:00:00 2001 From: louist103 <35883445+louist103@users.noreply.github.com> Date: Fri, 20 Jun 2025 14:09:06 +0000 Subject: Add OTR ifdef (#41) --- OTRExporter/ExporterArchiveOTR.cpp | 2 ++ OTRExporter/ExporterArchiveOTR.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/OTRExporter/ExporterArchiveOTR.cpp b/OTRExporter/ExporterArchiveOTR.cpp index 91952af..f38752b 100644 --- a/OTRExporter/ExporterArchiveOTR.cpp +++ b/OTRExporter/ExporterArchiveOTR.cpp @@ -1,3 +1,4 @@ +#ifdef INCLUDE_MPQ_SUPPORT #include "ExporterArchiveOTR.h" #include "Utils/StringHelper.h" #include @@ -145,3 +146,4 @@ bool ExporterArchiveOtr::AddFile(const std::string& filePath, void* fileData, si return true; } +#endif \ No newline at end of file diff --git a/OTRExporter/ExporterArchiveOTR.h b/OTRExporter/ExporterArchiveOTR.h index f9140ff..f6f2252 100644 --- a/OTRExporter/ExporterArchiveOTR.h +++ b/OTRExporter/ExporterArchiveOTR.h @@ -1,5 +1,5 @@ #pragma once - +#ifdef INCLUDE_MPQ_SUPPORT #undef _DLL #include @@ -26,3 +26,4 @@ class ExporterArchiveOtr : public ExporterArchive { std::vector mAddedFiles; HANDLE mMpq; }; +#endif \ No newline at end of file -- cgit v1.2.3