# HG changeset patch # User Sebastien Jodogne # Date 1596543314 -7200 # Node ID adb5324ce1e804799e937b32462d2486254da902 # Parent 1e84e0663da4a03649ddd9e51ceea026dd8d9bc6 fix diff -r 1e84e0663da4 -r adb5324ce1e8 Plugin/Plugin.cpp --- 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);