Mercurial > hg > orthanc-dicomweb
changeset 652:39a6a15d5c51
fix build with SDK < 1.12.4
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Thu, 25 Apr 2024 17:15:31 +0200 |
| parents | a81094c314a8 |
| children | 0a1f87f54a20 |
| files | Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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()
