summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-04-10 01:13:18 +0000
committerMarcus Boerger <helly@php.net>2002-04-10 01:13:18 +0000
commit3e70f373cec6d933e5cbac4e95e84f9e181efb08 (patch)
tree2eea5fd9f6afaae4588b1a4063a94cfdc33bc843
parentc664a0a202bcbc580dc7d6e5741421e409783087 (diff)
downloadphp-git-3e70f373cec6d933e5cbac4e95e84f9e181efb08.tar.gz
make (v)spprintf available
-rw-r--r--configure.in2
-rw-r--r--main/php.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 30e5133461..546a49e609 100644
--- a/configure.in
+++ b/configure.in
@@ -1068,7 +1068,7 @@ PHP_SUBST(install_targets)
PHP_ADD_SOURCES(TSRM, TSRM.c tsrm_strtok_r.c tsrm_virtual_cwd.c)
-PHP_ADD_SOURCES(main, main.c snprintf.c php_sprintf.c \
+PHP_ADD_SOURCES(main, main.c snprintf.c spprintf.c php_sprintf.c \
safe_mode.c fopen_wrappers.c alloca.c \
php_ini.c SAPI.c rfc1867.c php_content_types.c strlcpy.c \
strlcat.c mergesort.c reentrancy.c php_variables.c php_ticks.c \
diff --git a/main/php.h b/main/php.h
index a8e942f038..6784e06df9 100644
--- a/main/php.h
+++ b/main/php.h
@@ -204,6 +204,7 @@ char *strerror(int);
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || defined(BROKEN_SPRINTF) || defined(BROKEN_SNPRINTF) || defined(BROKEN_VSNPRINTF)
#include "snprintf.h"
#endif
+#include "spprintf.h"
#define EXEC_INPUT_BUF 4096