]> granicus.if.org Git - php/commitdiff
Add PHP_BROKEN_SPRINTF check here.
authorSascha Schumann <sas@php.net>
Thu, 8 Jun 2000 06:16:22 +0000 (06:16 +0000)
committerSascha Schumann <sas@php.net>
Thu, 8 Jun 2000 06:16:22 +0000 (06:16 +0000)
Also remove unnecessary #ifdef's for PACKAGE and VERSION.

main/php.h

index 59fdf6a37009ba0753bf95e2c66094b2af5be800..5af3f98e83feee998dce1b01e64ddb68da042512 100644 (file)
 #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[];