mirror of https://git.wownero.com/dsc/mxe.git
Added missing export to __declspec(dllexport).
This commit is contained in:
parent
dac6d74d6b
commit
3e9e30be1b
|
@ -0,0 +1,13 @@
|
|||
__declspec(dllexport) does not imply extern: add it. This fixes compilation with gcc-10.1
|
||||
|
||||
--- a/ThirdParty/libxml2/vtklibxml2/include/libxml/xmlexports.h 2020-05-17 14:32:52.863037615 +0200
|
||||
+++ b/ThirdParty/libxml2/vtklibxml2/include/libxml/xmlexports.h 2020-05-17 14:32:23.266063521 +0200
|
||||
@@ -111,7 +111,7 @@
|
||||
#undef XMLCDECL
|
||||
#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)
|
Loading…
Reference in New Issue