diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2025-06-20 14:09:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-20 10:09:06 -0400 |
| commit | 7be40fc073a16943e80ca22375b8a074ea45ae9a (patch) | |
| tree | 758a0397b0a059b93d213488f03ebc1d644b888d | |
| parent | a7336048705a0814d65c63435cdabcb70bcc27c7 (diff) | |
Add OTR ifdef (#41)
| -rw-r--r-- | OTRExporter/ExporterArchiveOTR.cpp | 2 | ||||
| -rw-r--r-- | OTRExporter/ExporterArchiveOTR.h | 3 |
2 files changed, 4 insertions, 1 deletions
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 <utils/StrHash64.h> @@ -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 <string> @@ -26,3 +26,4 @@ class ExporterArchiveOtr : public ExporterArchive { std::vector<std::string> mAddedFiles; HANDLE mMpq; }; +#endif
\ No newline at end of file |
