Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(785)

Unified Diff: third_party/libxml/include/libxml/xmlexports.h

Issue 2951008: Update libxml to 2.7.7. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libxml/include/libxml/xmlexports.h
diff --git a/third_party/libxml/include/libxml/xmlexports.h b/third_party/libxml/include/libxml/xmlexports.h
index 29a6f54f7788b3fddc229c0159f0523bfdf6f4e7..9c6790c80f48ecacbfd5c3a12145f1f9b01ff7eb 100644
--- a/third_party/libxml/include/libxml/xmlexports.h
+++ b/third_party/libxml/include/libxml/xmlexports.h
@@ -108,6 +108,11 @@
#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)

Powered by Google App Engine
This is Rietveld 408576698