diff Orthanc/Core/Toolbox.cpp @ 172:330ecfd96aec

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Oct 2017 12:53:46 +0200
parents 38aa615b7667
children dd1ad819ca33
line wrap: on
line diff
--- a/Orthanc/Core/Toolbox.cpp	Thu Aug 24 19:49:20 2017 +0200
+++ b/Orthanc/Core/Toolbox.cpp	Tue Oct 10 12:53:46 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