cvs: php4 / php.h
| From: | Sascha Schumann | Date: | Thu, 08 Jun 2000 06:16:22 +0000 |
| Subject: | cvs: php4 / php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83@lists.php.net to get a copy of this message | ||
sas Wed Jun 7 23:16:22 2000 EDT
Modified files:
/php4 php.h
Log:
Add PHP_BROKEN_SPRINTF check here.
Also remove unnecessary #ifdef's for PACKAGE and VERSION.
Index: php4/php.h
diff -u php4/php.h:1.102 php4/php.h:1.103
--- php4/php.h:1.102 Sun Jun 4 01:29:11 2000
+++ php4/php.h Wed Jun 7 23:16:22 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.102 2000/06/04 08:29:11 stas Exp $ */
+/* $Id: php.h,v 1.103 2000/06/08 06:16:22 sas Exp $ */
#ifndef _PHP_H
#define _PHP_H
@@ -35,15 +35,15 @@
#include "php_compat.h"
/* automake defines PACKAGE and VERSION for Zend too */
-#ifdef PACKAGE
-# undef PACKAGE
-#endif
-#ifdef VERSION
-# undef VERSION
-#endif
+#undef PACKAGE
+#undef VERSION
#include "zend_API.h"
+#if PHP_BROKEN_SPRINTF
+#undef sprintf
+#define sprintf php_sprintf
+#endif
extern unsigned char first_arg_force_ref[];
extern unsigned char first_arg_allow_ref[];