changeset 7161:f696c8086d5e default tip

fix build with old DCMTK versions
author Alain Mazy <am@orthanc.team>
date Mon, 28 Sep 2026 16:20:59 +0200
parents cb4bdda4c0af
children
files OrthancServer/Sources/main.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/main.cpp	Mon Sep 28 15:37:02 2026 +0200
+++ b/OrthancServer/Sources/main.cpp	Mon Sep 28 16:20:59 2026 +0200
@@ -124,7 +124,9 @@
   }
 };
 
-
+#if !defined(STATUS_N_InvalidSOPInstance) // introduced only in DCMTK 3.6.6 ?
+ #define STATUS_N_InvalidSOPInstance                                     0x0117
+#endif
 
 class OrthancStorageCommitmentRequestHandler : public IStorageCommitmentRequestHandler
 {