From d6130fada6f13933dbf11b50d5cc6c50763d23c3 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 30 Jun 2015 18:05:41 +0200 Subject: fixed wrong number for the new option --- main/php_streams.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/php_streams.h') 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 -- cgit v1.2.1