mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 13:09:42 -05:00
For Mingw32, added declarations for snprintf and vsnprintf
This commit is contained in:
parent
21a51c0628
commit
ff2908ffb8
1 changed files with 13 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue