diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-06-06 15:29:59 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-06-06 15:29:59 +0300 |
commit | e17fc0d73c611ad0207cac8a4a01ded38251a7dc (patch) | |
tree | 2075959be40bad1b0954df0b9ad6d609657afe5e /main/php_streams.h | |
parent | 180bf90dedf4104557dcbf677ea6987464522a7c (diff) | |
download | php-git-e17fc0d73c611ad0207cac8a4a01ded38251a7dc.tar.gz |
Added parentheses
Diffstat (limited to 'main/php_streams.h')
-rw-r--r-- | main/php_streams.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_streams.h b/main/php_streams.h index 81a848a3b6..e6361c4f94 100644 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -413,7 +413,7 @@ END_EXTERN_C() /* whether or not locking is supported */ #define PHP_STREAM_LOCK_SUPPORTED 1 -#define php_stream_supports_lock(stream) _php_stream_set_option((stream), PHP_STREAM_OPTION_LOCKING, 0, (void *) PHP_STREAM_LOCK_SUPPORTED) == 0 ? 1 : 0 +#define php_stream_supports_lock(stream) (_php_stream_set_option((stream), PHP_STREAM_OPTION_LOCKING, 0, (void *) PHP_STREAM_LOCK_SUPPORTED) == 0 ? 1 : 0) #define php_stream_lock(stream, mode) _php_stream_set_option((stream), PHP_STREAM_OPTION_LOCKING, (mode), (void *) NULL) /* option code used by the php_stream_xport_XXX api */ |