From d979b765a14423f6d7747827b72193a0da9f3030 Mon Sep 17 00:00:00 2001 From: axxel Date: Mon, 22 Jul 2024 23:57:08 +0200 Subject: [PATCH] Content: fix iOS build regression from last commit --- core/src/Content.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/Content.cpp b/core/src/Content.cpp index a211c2eff5..d0f2e80a16 100644 --- a/core/src/Content.cpp +++ b/core/src/Content.cpp @@ -10,9 +10,12 @@ #include "HRI.h" #include "TextDecoder.h" #include "Utf.h" -#include "Version.h" #include "ZXAlgorithms.h" +#if !defined(ZXING_READERS) && !defined(ZXING_WRITERS) +#include "Version.h" +#endif + #include namespace ZXing {