diff OrthancFramework/Sources/Toolbox.cpp @ 5261:f66b8d70917e

fix missing symbol
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Apr 2023 15:29:32 +0200
parents 0b183bb77c83
children 7cb1b851f5c8
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"