# HG changeset patch # User Sebastien Jodogne # Date 1749824148 -7200 # Node ID 6fa6072043030f86c0537edb7f167ec510a8ffeb # Parent b271895d9b40385ef8a203b84771aa45077cb003 fix build without support for plugins diff -r b271895d9b40 -r 6fa607204303 OrthancServer/Sources/ServerContext.cpp --- a/OrthancServer/Sources/ServerContext.cpp Fri Jun 13 15:49:18 2025 +0200 +++ b/OrthancServer/Sources/ServerContext.cpp Fri Jun 13 16:15:48 2025 +0200 @@ -908,12 +908,12 @@ { DicomInstanceToStore* dicom = &receivedDicom; +#if ORTHANC_ENABLE_PLUGINS == 1 // WARNING: The scope of "modifiedBuffer" and "modifiedDicom" must // be the same as that of "dicom" PluginMemoryBuffer64 modifiedBuffer; std::unique_ptr modifiedDicom; -#if ORTHANC_ENABLE_PLUGINS == 1 if (HasPlugins()) { // New in Orthanc 1.10.0