Mercurial > hg > orthanc
diff Core/DicomFormat/DicomValue.h @ 2138:41b70d5b44c9
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 15:18:03 +0100 |
parents | b1291df2f780 |
children | a3a65de1840f |
line wrap: on
line diff
--- a/Core/DicomFormat/DicomValue.h Wed Nov 09 15:07:50 2016 +0100 +++ b/Core/DicomFormat/DicomValue.h Wed Nov 09 15:18:03 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;