mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-31 17:17:37 +03:00
applied patch from Roland Schwingel for MingW Daniel
* include/libxml/xmlexports.h: applied patch from Roland Schwingel for MingW Daniel
This commit is contained in:
parent
06d2524e80
commit
51e5793d81
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user