Mercurial > hg > orthanc-webviewer
diff Orthanc/Core/DicomFormat/DicomValue.h @ 149:8189115c0da5
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 15:31:51 +0100 |
parents | 3251ec958a29 |
children | 5dc54316d68b |
line wrap: on
line diff
--- a/Orthanc/Core/DicomFormat/DicomValue.h Wed Nov 09 14:16:28 2016 +0100 +++ b/Orthanc/Core/DicomFormat/DicomValue.h Wed Nov 09 15:31:51 2016 +0100 @@ -35,6 +35,11 @@ #include <string> #include <boost/noncopyable.hpp> +#if !defined(ORTHANC_ENABLE_BASE64) +# error The macro ORTHANC_ENABLE_BASE64 must be defined +#endif + + namespace Orthanc { class DicomValue : public boost::noncopyable @@ -78,7 +83,7 @@ DicomValue* Clone() const; -#if !defined(ORTHANC_ENABLE_BASE64) || ORTHANC_ENABLE_BASE64 == 1 +#if ORTHANC_ENABLE_BASE64 == 1 void FormatDataUriScheme(std::string& target, const std::string& mime) const;