# HG changeset patch # User Alain Mazy # Date 1714058131 -7200 # Node ID 39a6a15d5c51c0da91c0dfe81a75fd270180747c # Parent a81094c314a89bf687b0068d75afa81eafc3b8fd fix build with SDK < 1.12.4 diff -r a81094c314a8 -r 39a6a15d5c51 Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp --- a/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Tue Apr 23 10:05:03 2024 +0200 +++ b/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Thu Apr 25 17:15:31 2024 +0200 @@ -92,7 +92,9 @@ void ResetGlobalContext() { globalContext_ = NULL; +#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 4) && ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 12, 4) pluginName_ = NULL; +#endif } bool HasGlobalContext()