changeset 211:d74a92ac00ea

orthanc 1.10.0 is renamed as 1.9.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Mar 2021 15:32:29 +0100
parents a0c095a4ba7d
children 821d4ba83dc3
files SQLite/Plugins/IndexPlugin.cpp
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;