Fix build on systems which lack snprintf or vsnprintf.

PR: #3786
This commit is contained in:
Sascha Schumann 2000-03-12 15:47:34 +00:00
parent e20b13751b
commit caeaaf4d98
15 changed files with 2 additions and 19 deletions

View file

@ -188,11 +188,8 @@ extern char *strerror(int);
#define LONG_MIN (- LONG_MAX - 1)
#endif
#if (!HAVE_SNPRINTF)
#define snprintf ap_snprintf
#define vsnprintf ap_vsnprintf
extern int ap_snprintf(char *, size_t, const char *, ...);
extern int ap_vsnprintf(char *, size_t, const char *, va_list);
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
#include "snprintf.h"
#endif
#define EXEC_INPUT_BUF 4096