From a53b6ee4519a7657164610ac14a82c57b1273bf6 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 23 Nov 2015 06:54:36 -0500 Subject: [PATCH] Use STL. Software that uses the shared library, such as Kodi, assume that TinyXML was compiled with STL activated. --- tinyxml.h | 2 ++ xmltest.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/tinyxml.h b/tinyxml.h index a3589e5..6cbfc7d 100644 --- a/tinyxml.h +++ b/tinyxml.h @@ -43,6 +43,8 @@ distribution. #define DEBUG #endif +#define TIXML_USE_STL 1 + #ifdef TIXML_USE_STL #include #include diff --git a/xmltest.cpp b/xmltest.cpp index 663c157..057dbfe 100644 --- a/xmltest.cpp +++ b/xmltest.cpp @@ -2,6 +2,7 @@ Test program for TinyXML. */ +#define TIXML_USE_STL 1 #ifdef TIXML_USE_STL #include -- 2.5.0 tion> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-01-31database: Validate #:nar-size and #:time when registering store items....* guix/store/database.scm (assert-integer): New procedure. (update-or-insert): Use it to validate NAR-SIZE and TIME. * tests/store-database.scm ("sqlite-register with incorrect size"): New test. Ludovic Courtès
2020-12-15database: Remove 'register-path'....* guix/store/database.scm (register-path): Remove. * tests/store-database.scm ("register-path"): Rename to... ("register-items"): ... this, and use 'register-items' instead of 'register-path'. ("register-path, directory"): Rename to... ("register-items, directory"): ... this, and use 'register-items' instead of 'register-path'. ("register-path with unregistered references"): Rename to... ("sqlite-register with unregistered references"): ... this. Ludovic Courtès
2020-12-15database: Remove #:deduplicate? and #:reset-timestamps? from 'register-path'....* guix/store/database.scm (register-path): Remove #:deduplicate? and #:reset-timestamps?. * guix/scripts/system.scm (copy-item): Adjust accordingly. * tests/store-database.scm ("register-path") ("register-path, directory"): Call 'reset-timestamps'. Ludovic Courtès
2020-11-21store-database: Add test checking the directory mtime after 'register-path'....* tests/store-database.scm ("register-path, directory"): New test. Ludovic Courtès