summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-06-30 18:05:41 +0200
committerAnatol Belski <ab@php.net>2015-07-02 14:22:59 +0200
commitd6130fada6f13933dbf11b50d5cc6c50763d23c3 (patch)
treed99063184d218db6c454afd75ea0e1af3ed1c4c7 /main/php_streams.h
parent4e5758f37741187c5d5d61c5dcb3f0a472890195 (diff)
downloadphp-git-d6130fada6f13933dbf11b50d5cc6c50763d23c3.tar.gz
fixed wrong number for the new option
Diffstat (limited to 'main/php_streams.h')
-rw-r--r--main/php_streams.h6
1 files changed, 3 insertions, 3 deletions
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