From: Marcus Boerger Date: Thu, 11 Apr 2002 07:28:24 +0000 (+0000) Subject: fix build (hopefully for BSD, too) X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~723 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e76b401f329beac915a0aea3cbc582c0d1cbe149;p=php fix build (hopefully for BSD, too) --- diff --git a/main/snprintf.c b/main/snprintf.c index 3d26318429..f4cd19838d 100644 --- a/main/snprintf.c +++ b/main/snprintf.c @@ -251,9 +251,6 @@ char * return (p); } -#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || defined(BROKEN_SNPRINTF) || defined(BROKEN_VSNPRINTF) - - #ifdef HAVE_GCVT #define ap_php_ecvt ecvt @@ -426,6 +423,8 @@ char * #endif /* HAVE_CVT */ +#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || defined(BROKEN_SNPRINTF) || defined(BROKEN_VSNPRINTF) + /* * NUM_BUF_SIZE is the size of the buffer used for arithmetic conversions *