diff OrthancServer/Internals/StoreScp.cpp @ 103:f2ecbe7d50b8

detection of dcmtk version
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Oct 2012 16:47:02 +0200
parents 7593b57dc1bf
children fe180eae201d
line wrap: on
line diff
--- a/OrthancServer/Internals/StoreScp.cpp	Wed Oct 03 16:28:13 2012 +0200
+++ b/OrthancServer/Internals/StoreScp.cpp	Wed Oct 03 16:47:02 2012 +0200
@@ -64,7 +64,7 @@
 
       dataSet->transferInit();
 
-#if 1
+#if DCMTK_VERSION_NUMBER >= 360
       OFCondition c = dataSet->write(ob, xfer, encodingType, NULL,
                                      /*opt_groupLength*/ EGL_recalcGL,
                                      /*opt_paddingType*/ EPD_withoutPadding);