aboutsummaryrefslogtreecommitdiff
path: root/ports/tinyxml/0002_export_tinyxml.patch
diff options
context:
space:
mode:
authorFrancisco Dias <franciscopdneto@gmail.com>2018-12-17 11:13:02 -0200
committerFrancisco Dias <franciscopdneto@gmail.com>2018-12-17 11:13:02 -0200
commit524a1414fc395fdc60951d63f4a66683309fd630 (patch)
treef7496042d2796909cabbccf261b26c083df01a66 /ports/tinyxml/0002_export_tinyxml.patch
parente04b4ed5b5ff5c1b61e5ce3d70ac101ffe3237c4 (diff)
downloadvcpkg-524a1414fc395fdc60951d63f4a66683309fd630.tar.gz
vcpkg-524a1414fc395fdc60951d63f4a66683309fd630.zip
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;
+ };
+
+