diff ViewerPlugin/Plugin.cpp @ 206:e12a4588d4bd

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2020 14:15:51 +0200
parents a1c265cb2174
children 7459819f3176
line wrap: on
line diff
--- a/ViewerPlugin/Plugin.cpp	Tue Aug 04 13:29:52 2020 +0200
+++ b/ViewerPlugin/Plugin.cpp	Tue Aug 04 14:15:51 2020 +0200
@@ -312,7 +312,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);