cvs: php4 /ext/standard basic_functions.c /main php.h
| From: | Sascha Schumann | Date: | Mon, 18 Mar 2002 08:29:17 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c /main php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10332@lists.php.net to get a copy of this message | ||
sas Mon Mar 18 03:29:17 2002 EDT
Modified files:
/php4/ext/standard basic_functions.c
/php4/main php.h
Log:
Rename HAVE_PHP_STREAM to PHP_HAVE_STREAMS, because
1.) a PHP-specific symbol should be in the php namespace, and
2.) there are multiple streams and the old configure parameter was plural, too.
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.455 php4/ext/standard/basic_functions.c:1.456
--- php4/ext/standard/basic_functions.c:1.455 Mon Mar 18 03:05:27 2002
+++ php4/ext/standard/basic_functions.c Mon Mar 18 03:29:17 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.455 2002/03/18 08:05:27 zeev Exp $ */
+/* $Id: basic_functions.c,v 1.456 2002/03/18 08:29:17 sas Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -623,7 +623,7 @@
PHP_FE(set_socket_blocking, NULL)
PHP_FE(socket_set_blocking, NULL)
-#if HAVE_PHP_STREAM
+#if PHP_HAVE_STREAMS
PHP_FE(fgetwrapperdata, NULL)
#endif
Index: php4/main/php.h
diff -u php4/main/php.h:1.165 php4/main/php.h:1.166
--- php4/main/php.h:1.165 Sat Mar 16 15:11:06 2002
+++ php4/main/php.h Mon Mar 18 03:29:17 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.165 2002/03/16 20:11:06 helly Exp $ */
+/* $Id: php.h,v 1.166 2002/03/18 08:29:17 sas Exp $ */
#ifndef PHP_H
#define PHP_H
@@ -27,7 +27,7 @@
#endif
#define PHP_API_VERSION 20010901
-#define HAVE_PHP_STREAM 1
+#define PHP_HAVE_STREAMS
#define YYDEBUG 0
#include "php_version.h"