cvs: php4 /main snprintf.c
| From: | Marcus B�rger | Date: | Thu, 11 Apr 2002 07:28:24 +0000 |
| Subject: | cvs: php4 /main snprintf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11030@lists.php.net to get a copy of this message | ||
helly Thu Apr 11 03:28:24 2002 EDT
Modified files:
/php4/main snprintf.c
Log:
fix build (hopefully for BSD, too)
Index: php4/main/snprintf.c
diff -u php4/main/snprintf.c:1.12 php4/main/snprintf.c:1.13
--- php4/main/snprintf.c:1.12 Wed Apr 10 09:02:53 2002
+++ php4/main/snprintf.c Thu Apr 11 03:28:24 2002
@@ -251,9 +251,6 @@
return (p);
}
-#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || defined(BROKEN_SNPRINTF) ||
defined(BROKEN_VSNPRINTF)
-
-
#ifdef HAVE_GCVT
#define ap_php_ecvt ecvt
@@ -425,6 +422,8 @@
}
#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