diff Core/DicomFormat/DicomValue.h @ 1761:f4286d99ee0a db-changes

fix sample database plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Oct 2015 11:22:48 +0100
parents 15a788a63846
children b1291df2f780
line wrap: on
line diff
--- a/Core/DicomFormat/DicomValue.h	Thu Oct 29 11:09:00 2015 +0100
+++ b/Core/DicomFormat/DicomValue.h	Thu Oct 29 11:22:48 2015 +0100
@@ -78,6 +78,7 @@
     
     DicomValue* Clone() const;
 
+#if !defined(ORTHANC_ENABLE_BASE64) || ORTHANC_ENABLE_BASE64 == 1
     void FormatDataUriScheme(std::string& target,
                              const std::string& mime) const;
 
@@ -85,5 +86,6 @@
     {
       FormatDataUriScheme(target, "application/octet-stream");
     }
+#endif
   };
 }