From 816bcd3affd6838471982ef9d51a258d02226876 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Mon, 15 Nov 2004 21:04:09 +0000 Subject: Fix win32 build. --- main/php_sprintf.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'main/php_sprintf.c') diff --git a/main/php_sprintf.c b/main/php_sprintf.c index b0589c20a2..e18bd25c41 100644 --- a/main/php_sprintf.c +++ b/main/php_sprintf.c @@ -20,13 +20,16 @@ #include #include -#ifdef NETWARE +#include "php.h" +#ifdef PHP_WIN32 +#include "config.w32.h" +#elif defined NETWARE #include "config.nw.h" #else #include "php_config.h" #endif -int +PHPAPI int php_sprintf (char*s, const char* format, ...) { va_list args; -- cgit v1.2.1