X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gnulib-local%2Flib%2Flibxml%2Fxmlexports.in.h;h=2c79f814b45c767eb2f69a126a38354cfb08ec3f;hb=refs%2Fchanges%2F82%2F71082%2F1;hp=29a6f54f7788b3fddc229c0159f0523bfdf6f4e7;hpb=5d61132f836323aaf2879e04abc9d4056db248a2;p=platform%2Fupstream%2Fgettext.git 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)