# HG changeset patch # User Sebastien Jodogne # Date 1596543351 -7200 # Node ID e12a4588d4bd019358875a33c53999f830743766 # Parent a8f25caebc07179c9ee14eadd9a11011bd979af5 fix diff -r a8f25caebc07 -r e12a4588d4bd ViewerPlugin/Plugin.cpp --- 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);