# HG changeset patch # User Sebastien Jodogne # Date 1445355761 -7200 # Node ID 913478499a72731112178b006dfc9e249e5881d1 # Parent f6ca4c202c1aa6a55aa153ec9fafee60d8df90dd clarification diff -r f6ca4c202c1a -r 913478499a72 UnitTestsSources/PostgreSQLWrapperTests.cpp --- 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