From: wessels <> Date: Fri, 31 Oct 1997 00:48:28 +0000 (+0000) Subject: protect vsnprintf() with #ifdefs X-Git-Tag: SQUID_3_0_PRE1~4617 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c03e7891d87e56e40aebb96928731df2a9c8000b;p=thirdparty%2Fsquid.git protect vsnprintf() with #ifdefs --- diff --git a/include/snprintf.h b/include/snprintf.h index 02d06ba276..70da03f0eb 100644 --- a/include/snprintf.h +++ b/include/snprintf.h @@ -27,10 +27,19 @@ XX **NO VARARGS ** XX #endif /* you can have ANSI C definitions */ + +#if !HAVE_SNPRINTF #ifdef HAVE_STDARGS int snprintf(char *str, size_t count, const char *fmt,...); -int vsnprintf(char *str, size_t count, const char *fmt, va_list arg); #else int snprintf(); +#endif +#endif + +#if !HAVE_VSNPRINTF +#ifdef HAVE_STDARGS +int vsnprintf(char *str, size_t count, const char *fmt, va_list arg); +#else int vsnprintf(); #endif +#endif