aboutsummaryrefslogtreecommitdiff
path: root/ports/tinyxml/0002_export_tinyxml.patch
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2018-12-20 14:07:44 -0800
committerGitHub <noreply@github.com>2018-12-20 14:07:44 -0800
commit99b06bba5d86a6982f2491d9f4ea7ef637ff3747 (patch)
tree472f0a5cb540503a3dcce1e93e5b7bc8693e76ab /ports/tinyxml/0002_export_tinyxml.patch
parent00b4fe651479ebbbdba65a3e9d5627319fc5d8da (diff)
parentccff8ab94ed1294d306d977b0bf25e8e9140a0d8 (diff)
downloadvcpkg-99b06bba5d86a6982f2491d9f4ea7ef637ff3747.tar.gz
vcpkg-99b06bba5d86a6982f2491d9f4ea7ef637ff3747.zip
Merge pull request #4988 from FranciscoPDNeto/master
[TinyXml] Linkage error fixed.
Diffstat (limited to 'ports/tinyxml/0002_export_tinyxml.patch')
-rw-r--r--ports/tinyxml/0002_export_tinyxml.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/ports/tinyxml/0002_export_tinyxml.patch b/ports/tinyxml/0002_export_tinyxml.patch
new file mode 100644
index 000000000..7f09a6ec9
--- /dev/null
+++ b/ports/tinyxml/0002_export_tinyxml.patch
@@ -0,0 +1,26 @@
+# User Francisco Dias
+# Date 1545049386 7200
+# Mon Dec 17 10:23:06 2018 -0200
+Export tinyXML.
+
+diff --git a/tinyxml.h b/tinyxml.h
+--- a/tinyxml.h
++++ b/tinyxml.h
+@@ -38,6 +38,8 @@
+ #include <string.h>
+ #include <assert.h>
+
++#include "tinyxml_export.h"
++
+ // Help out windows:
+ #if defined( _DEBUG ) && !defined( DEBUG )
+ #define DEBUG
+@@ -414,7 +416,7 @@
+
+ };
+ static Entity entity[ NUM_ENTITY ];
+- static bool condenseWhiteSpace;
++ static TINYXML_EXPORT bool condenseWhiteSpace;
+ };
+
+