mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-05 19:01:18 +03:00
use mingw C99 compatible functions {v}snprintf instead those from MSVC runtime
This commit is contained in:
committed by
Daniel Veillard
parent
f27c6683e6
commit
978ff224b2
@ -28,9 +28,7 @@
|
||||
#include "libxml_wrap.h"
|
||||
#include "libxml2-py.h"
|
||||
|
||||
#if (defined(_MSC_VER) || defined(__MINGW32__)) && !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
|
||||
|
Reference in New Issue
Block a user