Commit d324ff05 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

applied patch from Kenneth Haley for compiling on Mingw see #128786 Daniel

* include/libxml/xmlexports.h: applied patch from Kenneth Haley
  for compiling on Mingw see #128786
Daniel
parent 5a30b2d1
Tue Dec 9 15:07:09 CET 2003 Daniel Veillard <daniel@veillard.com>
* include/libxml/xmlexports.h: applied patch from Kenneth Haley
for compiling on Mingw see #128786
Tue Dec 9 14:52:59 CET 2003 Daniel Veillard <daniel@veillard.com>
 
* xmllint.c: some flags were not passed down correctly as
......
......@@ -88,7 +88,22 @@
#endif
/* Windows platform with GNU compiler (Mingw) */
#if defined(_WIN32) && defined(__MINGW__)
#if defined(_WIN32) && defined(__MINGW32__)
#undef XMLPUBFUN
#undef XMLPUBVAR
#undef XMLCALL
#if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
#define XMLPUBFUN __declspec(dllexport)
#define XMLPUBVAR __declspec(dllexport) extern
#else
#define XMLPUBFUN
#if !defined(LIBXML_STATIC)
#define XMLPUBVAR __declspec(dllimport) extern
#else
#define XMLPUBVAR extern
#endif
#endif
#define XMLCALL __cdecl
#if !defined _REENTRANT
#define _REENTRANT
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment