# HG changeset patch # User Sebastien Jodogne # Date 1619096032 -7200 # Node ID 07881ac5404bfca38d95dc11612636f8b2f95efa # Parent c7dc70a0a47748ac5e228ec4665f8e3a0bcbf1cb fix build against system-wide orthanc framework diff -r c7dc70a0a477 -r 07881ac5404b Framework/Plugins/IndexUnitTests.h --- a/Framework/Plugins/IndexUnitTests.h Thu Apr 22 14:09:46 2021 +0200 +++ b/Framework/Plugins/IndexUnitTests.h Thu Apr 22 14:53:52 2021 +0200 @@ -32,6 +32,11 @@ #include #include +#if !defined(ORTHANC_DATABASE_VERSION) +// This happens if using the Orthanc framework system-wide library +# define ORTHANC_DATABASE_VERSION 6 +#endif + #if ORTHANC_ENABLE_POSTGRESQL == 1 # define HAS_REVISIONS 1