]> granicus.if.org Git - libexpat/commitdiff
xmlwf: Ensure that STDMETHODIMP_ is defined for cppcheck (fixes #285)
authorSebastian Pipping <sebastian@pipping.org>
Wed, 17 Jul 2019 14:38:39 +0000 (16:38 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Wed, 17 Jul 2019 14:38:39 +0000 (16:38 +0200)
expat/xmlwf/xmlwin32url.cxx

index ef2a137452e7a690d020fb0bb588d33826057956..a2e897fa5406701e2cffe863067958b3ca46b69d 100644 (file)
 #include "xmlurl.h"
 #include "xmlmime.h"
 
+// Make cppcheck happy:
+#ifndef STDMETHODIMP_
+# define STDMETHODIMP_(x)  x
+#endif
+
 static int
 processURL(XML_Parser parser, IMoniker *baseMoniker, const XML_Char *url);