From 24abc7719af2ec28994f1f8309c6e77657fbf049 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 23 Dec 2002 14:44:48 +0000 Subject: [PATCH] =?UTF-8?q?patch=20from=20St=E9phane=20Bidoul=20for=20Pyth?= =?UTF-8?q?on=202.1=20Daniel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * python/libxslt.c: patch from Stéphane Bidoul for Python 2.1 Daniel --- ChangeLog | 4 ++++ python/libxslt.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 421218ac..35de41d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Dec 23 15:43:59 CET 2002 Daniel Veillard + + * python/libxslt.c: patch from Stéphane Bidoul for Python 2.1 + Sun Dec 22 22:54:04 CET 2002 Daniel Veillard * vms/build_xslt.com libxslt/xsltconfig.h.in libxslt/xsltutils.c: diff --git a/python/libxslt.c b/python/libxslt.c index fed2d1c8..1e517913 100644 --- a/python/libxslt.c +++ b/python/libxslt.c @@ -19,6 +19,9 @@ #include "libxslt_wrap.h" #include "libxslt-py.h" +#if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(vsnprintf) +#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) +#endif /* #define DEBUG */ /* #define DEBUG_XPATH */