mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
- Fix ZTS built.
This commit is contained in:
parent
1528a3d1fb
commit
b4bcdda57b
@ -616,7 +616,7 @@ PHP_FUNCTION(posix_ttyname)
|
||||
|
||||
switch (Z_TYPE_P(z_fd)) {
|
||||
case IS_RESOURCE:
|
||||
if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd)) {
|
||||
if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd TSRMLS_CC)) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
break;
|
||||
@ -646,7 +646,7 @@ PHP_FUNCTION(posix_isatty)
|
||||
|
||||
switch (Z_TYPE_P(z_fd)) {
|
||||
case IS_RESOURCE:
|
||||
if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd)) {
|
||||
if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd TSRMLS_CC)) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user