changeset 5261:f66b8d70917e

fix missing symbol
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Apr 2023 15:29:32 +0200
parents dd9443ac2dbf
children bf304ee8dd80
files OrthancFramework/Sources/Toolbox.cpp
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.cpp	Wed Apr 12 14:32:59 2023 +0200
+++ b/OrthancFramework/Sources/Toolbox.cpp	Wed Apr 12 15:29:32 2023 +0200
@@ -146,9 +146,13 @@
 }
 
 
-#if defined(ORTHANC_STATIC_ICU) && (ORTHANC_ENABLE_ICU == 1)
+#if defined(ORTHANC_STATIC_ICU)
+
+#  if (ORTHANC_STATIC_ICU == 1) && (ORTHANC_ENABLE_ICU == 1)
+#    include <OrthancFrameworkResources.h>
+#  endif
+
 #  if (ORTHANC_STATIC_ICU == 1 && ORTHANC_ENABLE_LOCALE == 1)
-#    include <OrthancFrameworkResources.h>
 #    include <unicode/udata.h>
 #    include <unicode/uloc.h>
 #    include "Compression/GzipCompressor.h"