# HG changeset patch # User Sebastien Jodogne # Date 1593502190 -7200 # Node ID 0b852f72634b1dcc2bad2183265097e90d6db7f1 # Parent 17a43659965332c897867841d263238307d2e46e simplification diff -r 17a436599653 -r 0b852f72634b Plugin/Plugin.cpp --- a/Plugin/Plugin.cpp Tue Jun 30 09:28:28 2020 +0200 +++ b/Plugin/Plugin.cpp Tue Jun 30 09:29:50 2020 +0200 @@ -131,12 +131,8 @@ { OrthancPlugins::SetGlobalContext(context); -#if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) -# if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 7, 2) +#if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) // This indicates Orthanc framework >= 1.7.2 Orthanc::Logging::InitializePluginContext(context); -# else - Orthanc::Logging::Initialize(context); -# endif #else Orthanc::Logging::Initialize(context); #endif