diff options
author | Roumen Petrov <bugtrack@roumenpetrov.info> | 2012-08-13 16:50:48 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-08-13 16:57:30 +0800 |
commit | c3b1d09ba226a138722a21cc8e8cc8ee29d80f8d (patch) | |
tree | 51453ee0ef67ae44174b4060f9b317e00d3de24a /python/libxml.c | |
parent | 1f0453f71546071d13c1cb06b7b6799e63fd4f9f (diff) | |
download | libxml2-c3b1d09ba226a138722a21cc8e8cc8ee29d80f8d.tar.gz |
clean redefinition of {v}snprintf in C-source
as those from *config.h are preferable (e.g. win32config.h)
Diffstat (limited to 'python/libxml.c')
-rw-r--r-- | python/libxml.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/python/libxml.c b/python/libxml.c index 9dabf898..ea4998bc 100644 --- a/python/libxml.c +++ b/python/libxml.c @@ -28,9 +28,7 @@ #include "libxml_wrap.h" #include "libxml2-py.h" -#if defined(_MSC_VER) && !defined(vsnprintf) -#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) -#elif defined(WITH_TRIO) && !defined(vsnprintf) +#if defined(WITH_TRIO) #include "trio.h" #define vsnprintf trio_vsnprintf #endif |