diff modules/javafx.web/src/main/native/Source/ThirdParty/libxml/src/include/libxml/xmlexports.h @ 10839:d4868b8fd76f

8197463: Update libxml2 to version 2.9.7 Reviewed-by: kcr, mbilla
author arajkumar
date Wed, 14 Feb 2018 07:01:23 -0800
parents 4b66f694e70f
children 15adcac0b7e5
line wrap: on
line diff
--- a/modules/javafx.web/src/main/native/Source/ThirdParty/libxml/src/include/libxml/xmlexports.h	Wed Feb 07 06:43:46 2018 -0800
+++ b/modules/javafx.web/src/main/native/Source/ThirdParty/libxml/src/include/libxml/xmlexports.h	Wed Feb 14 07:01:23 2018 -0800
@@ -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)