diff options
Diffstat (limited to 'source/include/platform/accygwin.h')
-rw-r--r-- | source/include/platform/accygwin.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/include/platform/accygwin.h b/source/include/platform/accygwin.h index cf8a2a33d7bb7..09581c4a30325 100644 --- a/source/include/platform/accygwin.h +++ b/source/include/platform/accygwin.h @@ -92,11 +92,14 @@ /* - * The vsnprintf function is defined by c99, but cygwin/gcc does not - * enable this prototype when the -ansi flag is set. Also related to - * __STRICT_ANSI__. So, we just declare the prototype here. + * The vsnprintf/snprintf functions are defined by c99, but cygwin/gcc + * does not enable this prototype when the -ansi flag is set. Also related + * to __STRICT_ANSI__. So, we just declare the prototype here. */ int vsnprintf (char *s, size_t n, const char *format, va_list ap); +int +snprintf (char *s, size_t n, const char *format, ...); + #endif /* __ACCYGWIN_H__ */ |