File: enforce-use-stl.patch

package info (click to toggle)
tinyxml 2.5.3-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,224 kB
  • ctags: 2,332
  • sloc: cpp: 4,642; makefile: 90; xml: 22; ansic: 9
file content (18 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: TinyXml is built with TIXML_USE_STL, so we have to
 enforce it when the library is used.
Author: Felix Geyer <debfx-pkg@fobos.de>

diff -Nur tinyxml-2.5.3/tinyxml.h tinyxml-2.5.3.patch/tinyxml.h
--- tinyxml-2.5.3/tinyxml.h	2007-05-07 00:41:23.000000000 +0200
+++ tinyxml-2.5.3.patch/tinyxml.h	2009-07-08 22:32:03.000000000 +0200
@@ -26,6 +26,10 @@
 #ifndef TINYXML_INCLUDED
 #define TINYXML_INCLUDED
 
+#ifndef TIXML_USE_STL
+	#define TIXML_USE_STL
+#endif
+
 #ifdef _MSC_VER
 #pragma warning( push )
 #pragma warning( disable : 4530 )