summaryrefslogtreecommitdiffstats
path: root/gnulib-local/lib/libxml/xmlexports.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-local/lib/libxml/xmlexports.in.h')
-rw-r--r--gnulib-local/lib/libxml/xmlexports.in.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnulib-local/lib/libxml/xmlexports.in.h b/gnulib-local/lib/libxml/xmlexports.in.h
index 29a6f54..2c79f81 100644
--- a/gnulib-local/lib/libxml/xmlexports.in.h
+++ b/gnulib-local/lib/libxml/xmlexports.in.h
@@ -43,7 +43,7 @@
/**
* XMLCDECL:
*
- * Macro which declares the calling convention for exported functions that
+ * Macro which declares the calling convention for exported functions that
* use '...'.
*/
#define XMLCDECL
@@ -108,9 +108,14 @@
#undef XMLPUBVAR
#undef XMLCALL
#undef XMLCDECL
+ /*
+ * if defined(IN_LIBXML) this raises problems on mingw with msys
+ * _imp__xmlFree listed as missing. Try to workaround the problem
+ * by also making that declaration when compiling client code.
+ */
#if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
#define XMLPUBFUN __declspec(dllexport)
- #define XMLPUBVAR __declspec(dllexport)
+ #define XMLPUBVAR __declspec(dllexport) extern
#else
#define XMLPUBFUN
#if !defined(LIBXML_STATIC)