# HG changeset patch # User Sebastien Jodogne # Date 1758621831 -7200 # Node ID d2b63ea23719fa319035d27e461564839e36fb02 # Parent e3a855dc1ebfad0c9a8fa3396d3e8c03067c49a3 fix build with older versions of dcmtk diff -r e3a855dc1ebf -r d2b63ea23719 OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp --- a/OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp Tue Sep 23 11:27:53 2025 +0200 +++ b/OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp Tue Sep 23 12:03:51 2025 +0200 @@ -35,6 +35,14 @@ #include #include +#if DCMTK_VERSION_NUMBER < 366 +#define STATUS_GET_Pending_SubOperationsAreContinuing 0xff00 +#define STATUS_GET_Success 0x0000 +#define STATUS_MOVE_Pending_SubOperationsAreContinuing 0xff00 +#define STATUS_MOVE_Success_SubOperationsCompleteNoFailures 0x0000 +#endif + + namespace Orthanc { static void TestAndCopyTag(DicomMap& result, diff -r e3a855dc1ebf -r d2b63ea23719 OrthancFramework/Sources/JobsEngine/JobStepResult.h --- a/OrthancFramework/Sources/JobsEngine/JobStepResult.h Tue Sep 23 11:27:53 2025 +0200 +++ b/OrthancFramework/Sources/JobsEngine/JobStepResult.h Tue Sep 23 12:03:51 2025 +0200 @@ -25,7 +25,9 @@ #pragma once #include "../Enumerations.h" + #include +#include namespace Orthanc {