diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2005-04-13 11:13:27 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2005-04-13 09:13:27 +0000 |
commit | 367e83192129b48cad047a38a7b30ee62b9a48af (patch) | |
tree | 05351468a979aa886b9eefe2a48e8ed2f27d6812 /gcc/system.h | |
parent | e8bb9922f8af3033a6a5e8217273fc94fd510e7f (diff) | |
download | gcc-367e83192129b48cad047a38a7b30ee62b9a48af.zip gcc-367e83192129b48cad047a38a7b30ee62b9a48af.tar.gz gcc-367e83192129b48cad047a38a7b30ee62b9a48af.tar.bz2 |
configure.ac (gcc_AC_CHECK_DECLS): Add vsnprintf.
* configure.ac (gcc_AC_CHECK_DECLS): Add vsnprintf.
* configure: Regenerate.
* config.in: Likewise.
* system.h: Declare vsnprintf if not already declared.
From-SVN: r98080
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index 35581a0..720e4df 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -438,6 +438,10 @@ extern void abort (void); extern int snprintf (char *, size_t, const char *, ...); #endif +#if defined (HAVE_DECL_VSNPRINTF) && !HAVE_DECL_VSNPRINTF +extern int vsnprintf(char *, size_t, const char *, va_list); +#endif + /* 1 if we have C99 designated initializers. */ #if !defined(HAVE_DESIGNATED_INITIALIZERS) #define HAVE_DESIGNATED_INITIALIZERS \ |