mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Fix compilation with Clang
Don't redefine vsnprintf if it is available
This commit is contained in:
committed by
Daniel Veillard
parent
d2e62311cd
commit
e306260f54
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(vsnprintf)
|
#if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(vsnprintf)
|
||||||
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
|
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
|
||||||
#elif defined(WITH_TRIO)
|
#elif defined(WITH_TRIO) && !defined(vsnprintf)
|
||||||
#include "trio.h"
|
#include "trio.h"
|
||||||
#define vsnprintf trio_vsnprintf
|
#define vsnprintf trio_vsnprintf
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user