mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Make the macro use the function and not the other macro as discussed
with Wez.
This commit is contained in:
parent
1f0b200188
commit
a73e74c2f8
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ PHPAPI php_stream_dirent *_php_stream_readdir(php_stream *dirstream, php_stream_
|
|||
PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC);
|
||||
#define php_stream_set_option(stream, option, value, ptrvalue) _php_stream_set_option((stream), (option), (value), (ptrvalue) TSRMLS_CC)
|
||||
|
||||
#define php_stream_set_chunk_size(stream, size) php_stream_set_option((stream), PHP_STREAM_OPTION_SET_CHUNK_SIZE, (size), NULL)
|
||||
#define php_stream_set_chunk_size(stream, size) _php_stream_set_option((stream), PHP_STREAM_OPTION_SET_CHUNK_SIZE, (size), NULL TSRMLS_CC)
|
||||
|
||||
/* change the blocking mode of stream: value == 1 => blocking, value == 0 => non-blocking. */
|
||||
#define PHP_STREAM_OPTION_BLOCKING 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue