1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-05 19:01:18 +03:00

clean redefinition of {v}snprintf in C-source

as those from *config.h are preferable (e.g. win32config.h)
This commit is contained in:
Roumen Petrov
2012-08-13 16:50:48 +08:00
committed by Daniel Veillard
parent 1f0453f715
commit c3b1d09ba2
6 changed files with 1 additions and 22 deletions

View File

@ -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