changeset 286:adb5324ce1e8

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2020 14:15:14 +0200
parents 1e84e0663da4
children ec1af1fdcaca
files Plugin/Plugin.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/Plugin.cpp	Tue Aug 04 13:52:24 2020 +0200
+++ b/Plugin/Plugin.cpp	Tue Aug 04 14:15:14 2020 +0200
@@ -393,7 +393,7 @@
 
     OrthancPlugins::SetGlobalContext(context);
 
-#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);