Commit ff2908ff authored by Howard Chu's avatar Howard Chu
Browse files

For Mingw32, added declarations for snprintf and vsnprintf

parent 21a51c06
......@@ -21,4 +21,17 @@
# define HAVE_STDARG 1
#endif
/*
* These functions are not included amongst Mingw32 headers for some
* reason even though they are supported in the library
*/
#if defined(__MINGW32__) && defined(HAVE_SNPRINTF)
int snprintf(char *, size_t, const char *, ...);
#endif
#if defined(__MINGW32__) && defined(HAVE_VSNPRINTF)
int vsnprintf(char *, size_t, const char *, va_list);
#endif
#endif /* _AC_STDARG_H */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment