aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/tinyxml/0002_export_tinyxml.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/tinyxml/0002_export_tinyxml.patch')
-rw-r--r--vcpkg/ports/tinyxml/0002_export_tinyxml.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/tinyxml/0002_export_tinyxml.patch b/vcpkg/ports/tinyxml/0002_export_tinyxml.patch
new file mode 100644
index 0000000..7f09a6e
--- /dev/null
+++ b/vcpkg/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;
+ };
+
+