diff options
Diffstat (limited to 'gettext-tools/gnulib-lib/libxml/xmlexports.in.h')
-rw-r--r-- | gettext-tools/gnulib-lib/libxml/xmlexports.in.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gettext-tools/gnulib-lib/libxml/xmlexports.in.h b/gettext-tools/gnulib-lib/libxml/xmlexports.in.h index 29a6f54..2c79f81 100644 --- a/gettext-tools/gnulib-lib/libxml/xmlexports.in.h +++ b/gettext-tools/gnulib-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) |