diff options
author | Koop Mast <kwm@freebsd.org> | 2010-11-03 16:10:26 +0100 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2010-11-03 16:10:26 +0100 |
commit | e306260f543aa4c47e8087b2eb013bb7586d801f (patch) | |
tree | e259dd0712195caf1767f6a60749e063c8326c1a /python/libxml.c | |
parent | d2e62311cd15651e68f921167c7fcf05b19378f9 (diff) | |
download | libxml2-e306260f543aa4c47e8087b2eb013bb7586d801f.tar.gz |
Fix compilation with Clang
Don't redefine vsnprintf if it is available
Diffstat (limited to 'python/libxml.c')
-rw-r--r-- | python/libxml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/libxml.c b/python/libxml.c index 3f01761f..b0043e67 100644 --- a/python/libxml.c +++ b/python/libxml.c @@ -30,7 +30,7 @@ #if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(vsnprintf) #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) -#elif defined(WITH_TRIO) +#elif defined(WITH_TRIO) && !defined(vsnprintf) #include "trio.h" #define vsnprintf trio_vsnprintf #endif |