aboutsummaryrefslogtreecommitdiff
path: root/ports/tinyxml/0001_use_stl.patch
diff options
context:
space:
mode:
authorMikhail Paulyshka <me@mixaill.tk>2017-09-03 22:23:07 +0300
committerMikhail Paulyshka <me@mixaill.tk>2017-09-03 22:23:07 +0300
commit2c4bc8c2dbdd04bd888413d98a9d60638afe2157 (patch)
tree22564b199b748c9840851df4ba5330fc4229f3a6 /ports/tinyxml/0001_use_stl.patch
parent35a9d223bc14fb4b35d6ad876d208897c8ce590a (diff)
downloadvcpkg-2c4bc8c2dbdd04bd888413d98a9d60638afe2157.tar.gz
vcpkg-2c4bc8c2dbdd04bd888413d98a9d60638afe2157.zip
[tinyxml] add version 2.6.2
Diffstat (limited to 'ports/tinyxml/0001_use_stl.patch')
-rw-r--r--ports/tinyxml/0001_use_stl.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/ports/tinyxml/0001_use_stl.patch b/ports/tinyxml/0001_use_stl.patch
new file mode 100644
index 000000000..a36f930ee
--- /dev/null
+++ b/ports/tinyxml/0001_use_stl.patch
@@ -0,0 +1,27 @@
+From 5ca492fee93015411a0f10e0b2f1d3503bf962a1 Mon Sep 17 00:00:00 2001
+From: Mikhail Paulyshka <me@mixaill.tk>
+Date: Sun, 3 Sep 2017 21:43:36 +0300
+Subject: [PATCH] enforce STL usage
+
+---
+ tinyxml.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/tinyxml.h b/tinyxml.h
+index a3589e5..7195033 100644
+--- a/tinyxml.h
++++ b/tinyxml.h
+@@ -43,6 +43,10 @@ distribution.
+ #define DEBUG
+ #endif
+
++#ifndef TIXML_USE_STL
++#define TIXML_USE_STL
++#endif
++
+ #ifdef TIXML_USE_STL
+ #include <string>
+ #include <iostream>
+--
+2.12.2.windows.2
+