# HG changeset patch # User Alain Mazy # Date 1781708900 -7200 # Node ID cf0f5c9780bcfbab0bd1588ef4c0d5425f88d0c0 # Parent b2d7a0d9bd6215052c694137e89510f3046562f7 try to fix build on macOs diff -r b2d7a0d9bd62 -r cf0f5c9780bc Resources/Orthanc/Plugins/OrthancPluginException.h --- 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(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));