Commit 51e5793d authored by Daniel Veillard's avatar Daniel Veillard

applied patch from Roland Schwingel for MingW Daniel

* include/libxml/xmlexports.h: applied patch from Roland Schwingel
  for MingW
Daniel
parent 06d2524e
Wed Feb 25 18:07:05 CET 2004 Daniel Veillard <daniel@veillard.com>
* include/libxml/xmlexports.h: applied patch from Roland Schwingel
for MingW
Wed Feb 25 13:57:25 CET 2004 Daniel Veillard <daniel@veillard.com>
* Makefile.am catalog.c configure.in: applied a cleanup patch
......
......@@ -89,12 +89,21 @@
/* Windows platform with GNU compiler (Mingw) */
#if defined(_WIN32) && defined(__MINGW32__)
#undef XMLPUBFUN
#undef XMLPUBVAR
#ifdef __cplusplus
#define XMLPUBVAR extern
#undef XMLCALL
#if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
#define XMLPUBFUN __declspec(dllexport)
#define XMLPUBVAR __declspec(dllexport)
#else
#define XMLPUBVAR
#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