From: Anatol Belski Date: Tue, 30 Jun 2015 16:05:41 +0000 (+0200) Subject: fixed wrong number for the new option X-Git-Tag: php-7.1.0alpha3~25^2~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6130fada6f13933dbf11b50d5cc6c50763d23c3;p=php fixed wrong number for the new option --- diff --git a/main/php_streams.h b/main/php_streams.h index 87965e2758..255b065bd4 100644 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -399,9 +399,6 @@ END_EXTERN_C() #define PHP_STREAM_OPTION_READ_BUFFER 2 #define PHP_STREAM_OPTION_WRITE_BUFFER 3 -/* Enable/disable blocking reads on anonymous pipes on Windows. */ -#define PHP_STREAM_OPTION_PIPE_BLOCKING 4 - #define PHP_STREAM_BUFFER_NONE 0 /* unbuffered */ #define PHP_STREAM_BUFFER_LINE 1 /* line buffered */ #define PHP_STREAM_BUFFER_FULL 2 /* fully buffered */ @@ -413,6 +410,9 @@ END_EXTERN_C() /* set or release lock on a stream */ #define PHP_STREAM_OPTION_LOCKING 6 +/* Enable/disable blocking reads on anonymous pipes on Windows. */ +#define PHP_STREAM_OPTION_PIPE_BLOCKING 7 + /* whether or not locking is supported */ #define PHP_STREAM_LOCK_SUPPORTED 1