Merge remote-tracking branch 'oe_21/master' into vuplus-3.0
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-support / libtinyxml / libtinyxml / enforce-use-stl.patch
1 Description: TinyXml is built with TIXML_USE_STL, so we have to
2  enforce it when the library is used.
3 Author: Felix Geyer <debfx-pkg@fobos.de>
4
5 Upstream-Status: Pending
6
7 diff -Nur tinyxml-2.5.3/tinyxml.h tinyxml-2.5.3.patch/tinyxml.h
8 --- tinyxml-2.5.3/tinyxml.h     2007-05-07 00:41:23.000000000 +0200
9 +++ tinyxml-2.5.3.patch/tinyxml.h       2009-07-08 22:32:03.000000000 +0200
10 @@ -26,6 +26,10 @@
11  #ifndef TINYXML_INCLUDED
12  #define TINYXML_INCLUDED
13  
14 +#ifndef TIXML_USE_STL
15 +       #define TIXML_USE_STL
16 +#endif
17 +
18  #ifdef _MSC_VER
19  #pragma warning( push )
20  #pragma warning( disable : 4530 )