Mercurial > hg > orthanc-databases
diff Framework/Plugins/StorageBackend.cpp @ 271:6b18d3fbee82
backward compatibility with Orthanc SDK 0.9.5
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 22 Apr 2021 10:41:29 +0200 |
parents | 5931c2ff22ca |
children | b988cb30534f |
line wrap: on
line diff
--- a/Framework/Plugins/StorageBackend.cpp Wed Apr 21 17:56:43 2021 +0200 +++ b/Framework/Plugins/StorageBackend.cpp Thu Apr 22 10:41:29 2021 +0200 @@ -315,7 +315,8 @@ } -#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 9, 0) +#if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) +# if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 9, 0) static OrthancPluginErrorCode StorageReadWhole(OrthancPluginMemoryBuffer64* target, const char* uuid, OrthancPluginContentType type) @@ -492,6 +493,7 @@ } ORTHANC_PLUGINS_DATABASE_CATCH; } +# endif #endif