diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2985:32ec5078e32b

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Dec 2018 09:20:57 +0100
parents db8f360fcb41
children 9cc3d40e389b
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Sat Dec 08 20:59:37 2018 +0100
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Mon Dec 10 09:20:57 2018 +0100
@@ -492,7 +492,9 @@
 
   void AnswerMethodNotAllowed(OrthancPluginRestOutput* output, const char* allowedMethods);
 
+#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 4, 3)
   const char* AutodetectMimeType(const std::string& path);
+#endif
 
   void LogError(const std::string& message);