Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexUnitTests.h @ 273:07881ac5404b
fix build against system-wide orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 22 Apr 2021 14:53:52 +0200 |
parents | cc7af42d4f23 |
children | 6d4d413a8797 |
comparison
equal
deleted
inserted
replaced
272:c7dc70a0a477 | 273:07881ac5404b |
---|---|
29 | 29 |
30 #include <orthanc/OrthancCDatabasePlugin.h> | 30 #include <orthanc/OrthancCDatabasePlugin.h> |
31 | 31 |
32 #include <gtest/gtest.h> | 32 #include <gtest/gtest.h> |
33 #include <list> | 33 #include <list> |
34 | |
35 #if !defined(ORTHANC_DATABASE_VERSION) | |
36 // This happens if using the Orthanc framework system-wide library | |
37 # define ORTHANC_DATABASE_VERSION 6 | |
38 #endif | |
34 | 39 |
35 | 40 |
36 #if ORTHANC_ENABLE_POSTGRESQL == 1 | 41 #if ORTHANC_ENABLE_POSTGRESQL == 1 |
37 # define HAS_REVISIONS 1 | 42 # define HAS_REVISIONS 1 |
38 #elif ORTHANC_ENABLE_MYSQL == 1 | 43 #elif ORTHANC_ENABLE_MYSQL == 1 |