Mercurial > hg > orthanc-dicomweb
changeset 767:cf0f5c9780bc
try to fix build on macOs
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Wed, 17 Jun 2026 17:08:20 +0200 |
| parents | b2d7a0d9bd62 |
| children | 365e738dd6f5 |
| files | Resources/Orthanc/Plugins/OrthancPluginException.h |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/Orthanc/Plugins/OrthancPluginException.h Wed Jun 17 16:26:52 2026 +0200 +++ b/Resources/Orthanc/Plugins/OrthancPluginException.h Wed Jun 17 17:08:20 2026 +0200 @@ -58,6 +58,8 @@ # define ORTHANC_PLUGINS_THROW_PLUGIN_ERROR_CODE(code) \ throw ORTHANC_PLUGINS_EXCEPTION_CLASS(static_cast<ORTHANC_PLUGINS_ERROR_ENUMERATION>(code)); +# define PLUGIN_THROW_WITH_FILE_AND_LINE_INFO(errorCode) + ORTHANC_PLUGINS_THROW_PLUGIN_ERROR_CODE(errorCode) # define ORTHANC_PLUGINS_THROW_EXCEPTION(code) \ throw ORTHANC_PLUGINS_EXCEPTION_CLASS(ORTHANC_PLUGINS_GET_ERROR_CODE(code));
