enforce-use-stl.patch 549 B

12345678910111213141516171819
  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. diff -Nur tinyxml-2.5.3/tinyxml.h tinyxml-2.5.3.patch/tinyxml.h
  5. --- tinyxml-2.5.3/tinyxml.h 2007-05-07 00:41:23.000000000 +0200
  6. +++ tinyxml-2.5.3.patch/tinyxml.h 2009-07-08 22:32:03.000000000 +0200
  7. @@ -26,6 +26,10 @@
  8. #ifndef TINYXML_INCLUDED
  9. #define TINYXML_INCLUDED
  10. +#ifndef TIXML_USE_STL
  11. + #define TIXML_USE_STL
  12. +#endif
  13. +
  14. #ifdef _MSC_VER
  15. #pragma warning( push )
  16. #pragma warning( disable : 4530 )