Mercurial > hg > orthanc
comparison OrthancFramework/Sources/OrthancFramework.h @ 4141:99927401587c
define ORTHANC_FRAMEWORK_VERSION_IS_ABOVE even if Orthanc framework is statically linked
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Aug 2020 16:57:34 +0200 |
parents | bf7b9edf6b81 |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4140:0ddc5297a8ab | 4141:99927401587c |
---|---|
58 # define ORTHANC_PUBLIC | 58 # define ORTHANC_PUBLIC |
59 # define ORTHANC_LOCAL | 59 # define ORTHANC_LOCAL |
60 #endif | 60 #endif |
61 | 61 |
62 | 62 |
63 #define ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(major, minor, revision) \ | |
64 (ORTHANC_VERSION_MAJOR > major || \ | |
65 (ORTHANC_VERSION_MAJOR == major && \ | |
66 (ORTHANC_VERSION_MINOR > minor || \ | |
67 (ORTHANC_VERSION_MINOR == minor && \ | |
68 ORTHANC_VERSION_REVISION >= revision)))) | |
69 | |
70 | |
63 #include <string> | 71 #include <string> |
64 | 72 |
65 namespace Orthanc | 73 namespace Orthanc |
66 { | 74 { |
67 ORTHANC_PUBLIC void InitializeFramework(const std::string& locale, | 75 ORTHANC_PUBLIC void InitializeFramework(const std::string& locale, |