]> granicus.if.org Git - php/commitdiff
Rename HAVE_PHP_STREAM to PHP_HAVE_STREAMS, because
authorSascha Schumann <sas@php.net>
Mon, 18 Mar 2002 08:29:17 +0000 (08:29 +0000)
committerSascha Schumann <sas@php.net>
Mon, 18 Mar 2002 08:29:17 +0000 (08:29 +0000)
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.

ext/standard/basic_functions.c
main/php.h

index dee722ab5926c24f393d3172860e7f6219abd3d2..2e98ffe7a64cf29eee396efcc3cb3cb0c023367b 100644 (file)
@@ -623,7 +623,7 @@ function_entry basic_functions[] = {
        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 e086ee4ed5c656a13e67d59dc68c6d9f5cc54eee..c1d794955022f0ddbaeea289ab6a960d06379572 100644 (file)
@@ -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"