summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-03-26 20:47:47 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-03-26 20:47:47 +0000
commiteb168d9dc3791e4a979c9989f9a84267af324118 (patch)
tree7016cc6efa06a12202dc14a5723b70a8236c4f7c /python
parentfcf08be4ae6f00b9ffe6155113ddd6f3310a528a (diff)
downloadlibxslt-eb168d9dc3791e4a979c9989f9a84267af324118.tar.gz
libxslt-eb168d9dc3791e4a979c9989f9a84267af324118.tar.bz2
libxslt-eb168d9dc3791e4a979c9989f9a84267af324118.zip
portability fixes from Albert Chin avoid RTLD_GLOBAL detection warning too
* configure.in python/Makefile.am python/libxslt.c libxslt/xsltutils.c libxslt/trio.h libxslt/triodef.h: portability fixes from Albert Chin * python/libxslt.py: avoid RTLD_GLOBAL detection warning too Daniel
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am1
-rw-r--r--python/libxslt.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 3800772a..4e785ef6 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -6,6 +6,7 @@ SUBDIRS= . tests
INCLUDES = \
-I$(PYTHON_INCLUDES) \
$(LIBXML_CFLAGS) \
+ -I$(top_srcdir)/libxslt \
-I$(top_srcdir)
DOCS_DIR = $(datadir)/doc/libxslt-python-$(LIBXSLT_VERSION)
diff --git a/python/libxslt.c b/python/libxslt.c
index e9bd1485..a6310a51 100644
--- a/python/libxslt.c
+++ b/python/libxslt.c
@@ -21,6 +21,9 @@
#if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(vsnprintf)
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
+#elif defined(XSLT_NEED_TRIO)
+#include "trio.h"
+#define vsnprintf trio_vsnprintf
#endif
/* #define DEBUG */