changeset 168:9cc6fec07135

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2020 14:11:58 +0200
parents 0f01eaf17232
children c17f219cec42
files Framework/Plugins/PluginInitialization.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Plugins/PluginInitialization.cpp	Tue Aug 04 13:40:46 2020 +0200
+++ b/Framework/Plugins/PluginInitialization.cpp	Tue Aug 04 14:11:58 2020 +0200
@@ -45,7 +45,7 @@
                         const std::string& dbms,
                         bool isIndex)
   {
-#if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE)  // This indicates Orthanc framework >= 1.7.2
+#if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 7, 2)
     Orthanc::Logging::InitializePluginContext(context);
 #else
     Orthanc::Logging::Initialize(context);