summaryrefslogtreecommitdiff
path: root/libxslt/xsltconfig.h.in
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2007-03-02 10:43:34 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2007-03-02 10:43:34 +0000
commit18ae451bb0f52b9b2a2e2c4ec77dbe25284c95d5 (patch)
treeb925da09e33a88f5c5e3d76f6833230972cd3846 /libxslt/xsltconfig.h.in
parentf13db5792e28b6252cd02c1e28b40b8d9eace3c4 (diff)
downloadlibxslt-18ae451bb0f52b9b2a2e2c4ec77dbe25284c95d5.tar.gz
added setting of TRIO_REPLACE_STDIO when TRIO routines are required.
* xsltconfig.h.in: added setting of TRIO_REPLACE_STDIO when TRIO routines are required. * namespaces.c, xsltutils.c: enhanced handling of stdio.h vs. trio.h when trio routines are required (now use XSLT_NEED_TRIO) (bug #412787) svn path=/trunk/; revision=1423
Diffstat (limited to 'libxslt/xsltconfig.h.in')
-rw-r--r--libxslt/xsltconfig.h.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/libxslt/xsltconfig.h.in b/libxslt/xsltconfig.h.in
index bd35c08b..a8b5acfb 100644
--- a/libxslt/xsltconfig.h.in
+++ b/libxslt/xsltconfig.h.in
@@ -77,7 +77,7 @@ extern "C" {
/**
* XSLT_NEED_TRIO:
*
- * should be activated in the existing libc library lacks some of the
+ * should be activated if the existing libc library lacks some of the
* string formatting function, in that case reuse the Trio ones already
* compiled in the libxml2 library.
*/
@@ -93,6 +93,10 @@ extern "C" {
#endif
#endif
+#ifdef XSLT_NEED_TRIO
+#define TRIO_REPLACE_STDIO
+#endif
+
/**
* WITH_XSLT_DEBUGGER:
*