diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-16 18:05:57 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-16 18:05:57 +0000 |
commit | 56deebec3b40ef8d2bfa28318cea3846ebb0f2c8 (patch) | |
tree | 8900adb86149c1a49b414e8516104ce9dbdcda55 /gcc/system.h | |
parent | 35f8a46a758d4534313ab4361bb068b7c4bca86e (diff) | |
download | gcc-56deebec3b40ef8d2bfa28318cea3846ebb0f2c8.tar.gz |
* configure.in: Add snprintf to gcc_AC_CHECK_DECLS list.
* system.h: Declare snprintf if necessary.
* configure, config.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72557 138bc75d-0d04-0410-961f-82ee72b054a4
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 ac471801ded..d0a9eab00db 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -361,6 +361,10 @@ extern int setrlimit (int, const struct rlimit *); extern void abort (void); #endif +#if defined (HAVE_DECL_SNPRINTF) && !HAVE_DECL_SNPRINTF +extern int snprintf (char *, size_t, const char *, ...); +#endif + /* 1 if we have C99 designated initializers. */ #if !defined(HAVE_DESIGNATED_INITIALIZERS) #define HAVE_DESIGNATED_INITIALIZERS \ |