diff Plugin/Plugin.cpp @ 41:af7da36e68f5

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2020 14:10:56 +0200
parents 8ada1b669194
children 914b8113fd46
line wrap: on
line diff
--- a/Plugin/Plugin.cpp	Tue Jul 07 20:38:00 2020 +0200
+++ b/Plugin/Plugin.cpp	Tue Aug 04 14:10:56 2020 +0200
@@ -258,7 +258,7 @@
       return -1;
     }
 
-#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);