Mercurial > hg > orthanc
changeset 1945:76ff6eecf07f
fix compilation against DCMTK 3.6.1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Apr 2016 13:36:56 +0200 |
parents | 1a5e070a21c3 |
children | 40b7a0176305 |
files | OrthancServer/ParsedDicomFile.cpp |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp Mon Apr 04 13:33:19 2016 +0200 +++ b/OrthancServer/ParsedDicomFile.cpp Mon Apr 04 13:36:56 2016 +0200 @@ -136,6 +136,11 @@ #include <boost/algorithm/string/predicate.hpp> +#if DCMTK_VERSION_NUMBER <= 360 +# define EXS_JPEGProcess1 EXS_JPEGProcess1TransferSyntax +#endif + + static const char* CONTENT_TYPE_OCTET_STREAM = "application/octet-stream";