# HG changeset patch # User Sebastien Jodogne # Date 1616596349 -3600 # Node ID d74a92ac00ea83a9d7381924bd34e536eb20838d # Parent a0c095a4ba7db359acc549dc9ee48847d3e85860 orthanc 1.10.0 is renamed as 1.9.2 diff -r a0c095a4ba7d -r d74a92ac00ea SQLite/Plugins/IndexPlugin.cpp --- a/SQLite/Plugins/IndexPlugin.cpp Mon Mar 22 19:36:43 2021 +0100 +++ b/SQLite/Plugins/IndexPlugin.cpp Wed Mar 24 15:32:29 2021 +0100 @@ -30,7 +30,7 @@ #if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in Orthanc 1.3.1 -# if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 10, 0) +# if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 9, 2) #define ORTHANC_PLUGINS_DATABASE_CATCH(context) \ @@ -51,6 +51,7 @@ } + namespace OrthancDatabases { class Output : public IDatabaseBackendOutput @@ -1891,8 +1892,8 @@ bool hasLoadedV3 = false; #if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in Orthanc 1.3.1 -# if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 10, 0) - if (OrthancPluginCheckVersionAdvanced(context, 1, 10, 0) == 1) +# if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 9, 2) + if (OrthancPluginCheckVersionAdvanced(context, 1, 9, 2) == 1) { RegisterV3(*backend_); hasLoadedV3 = true;