comparison Plugin/Plugin.cpp @ 286:adb5324ce1e8

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2020 14:15:14 +0200
parents 3a9749b1dfce
children ec1af1fdcaca
comparison
equal deleted inserted replaced
285:1e84e0663da4 286:adb5324ce1e8
391 { 391 {
392 using namespace OrthancPlugins; 392 using namespace OrthancPlugins;
393 393
394 OrthancPlugins::SetGlobalContext(context); 394 OrthancPlugins::SetGlobalContext(context);
395 395
396 #if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) // This indicates Orthanc framework >= 1.7.2 396 #if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 7, 2)
397 Orthanc::Logging::InitializePluginContext(context); 397 Orthanc::Logging::InitializePluginContext(context);
398 #else 398 #else
399 Orthanc::Logging::Initialize(context); 399 Orthanc::Logging::Initialize(context);
400 #endif 400 #endif
401 401