Mercurial > hg > orthanc-postgresql
changeset 77:913478499a72
clarification
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Tue, 20 Oct 2015 17:42:41 +0200 |
| parents | f6ca4c202c1a |
| children | 8372e85618b8 |
| files | UnitTestsSources/PostgreSQLWrapperTests.cpp |
| diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/UnitTestsSources/PostgreSQLWrapperTests.cpp Tue Oct 20 16:40:33 2015 +0200 +++ b/UnitTestsSources/PostgreSQLWrapperTests.cpp Tue Oct 20 17:42:41 2015 +0200 @@ -89,12 +89,12 @@ -#if (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER >= 1 || (ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER >= 9 && ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER >= 4)) +#if (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER <= 0 && ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER <= 9 && ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER <= 4) +# define INVOKE_RETURN_TYPE int32_t +# define INVOKE_RETURN_VALUE 0 +#else # define INVOKE_RETURN_TYPE OrthancPluginErrorCode # define INVOKE_RETURN_VALUE OrthancPluginErrorCode_Success -#else -# define INVOKE_RETURN_TYPE int32_t -# define INVOKE_RETURN_VALUE 0 #endif
