libxml2/win32/win32config.h

21 lines
408 B
C
Raw Permalink Normal View History

#ifndef __LIBXML_WIN32_CONFIG__
#define __LIBXML_WIN32_CONFIG__
#if defined(__MINGW32__) || (defined(_MSC_VER) && _MSC_VER >= 1600)
2022-12-08 03:58:41 +01:00
#define HAVE_STDINT_H
#endif
#if defined(_MSC_VER)
2022-12-08 03:58:41 +01:00
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#if _MSC_VER < 1500
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#endif
2002-11-14 17:43:55 +00:00
#endif
2001-02-23 17:55:21 +00:00
#define XML_SYSCONFDIR "/etc"
#endif /* __LIBXML_WIN32_CONFIG__ */