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

Restore code for Windows compilation

Try to keep as close to rc1 but still allow the change from Roumen for
mingw
This commit is contained in:
Daniel Veillard
2012-05-23 15:52:45 +08:00
parent ee8f1d4cda
commit 22030ef888
6 changed files with 22 additions and 2 deletions

View File

@ -28,7 +28,9 @@
#include "libxml_wrap.h"
#include "libxml2-py.h"
#if defined(WITH_TRIO)
#if defined(_MSC_VER) && !defined(vsnprintf)
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#elif defined(WITH_TRIO) && !defined(vsnprintf)
#include "trio.h"
#define vsnprintf trio_vsnprintf
#endif