aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-10-16 18:05:57 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-10-16 18:05:57 +0000
commit236ce4b20e848e421bd047f0bcfc898fd123133e (patch)
tree8900adb86149c1a49b414e8516104ce9dbdcda55 /gcc/system.h
parent10f30fa883e31e2335fd4f748d8041b0f9eebd8a (diff)
downloadgcc-236ce4b20e848e421bd047f0bcfc898fd123133e.zip
gcc-236ce4b20e848e421bd047f0bcfc898fd123133e.tar.gz
gcc-236ce4b20e848e421bd047f0bcfc898fd123133e.tar.bz2
configure.in: Add snprintf to gcc_AC_CHECK_DECLS list.
* configure.in: Add snprintf to gcc_AC_CHECK_DECLS list. * system.h: Declare snprintf if necessary. * configure, config.in: Regenerate. From-SVN: r72557
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index ac47180..d0a9eab 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 \