diff Core/Toolbox.cpp @ 2412:cad393b41bc3

handy shortcuts in DicomMap
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 Sep 2017 11:35:45 +0200
parents 68380777f9a6
children 330349d712f9
line wrap: on
line diff
--- a/Core/Toolbox.cpp	Fri Sep 29 10:16:28 2017 +0200
+++ b/Core/Toolbox.cpp	Fri Sep 29 11:35:45 2017 +0200
@@ -397,6 +397,7 @@
 #endif
 
 
+#if ORTHANC_ENABLE_LOCALE == 1
   static const char* GetBoostLocaleEncoding(const Encoding sourceEncoding)
   {
     switch (sourceEncoding)
@@ -463,6 +464,7 @@
         throw OrthancException(ErrorCode_NotImplemented);
     }
   }
+#endif
 
 
 #if ORTHANC_ENABLE_LOCALE == 1