diff options
author | Anatol Belski <ab@php.net> | 2014-12-16 12:56:00 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-12-16 12:56:00 +0100 |
commit | 89f87576a1fe9a5839fb239150642b228418d389 (patch) | |
tree | 0cf1abe9fd6e324d6c7e34192854e6b7d311d445 /sapi/phpdbg/phpdbg_utils.h | |
parent | 9d70df24f8a35e7706d629151f43fc0757eb5f58 (diff) | |
download | php-git-89f87576a1fe9a5839fb239150642b228418d389.tar.gz |
various fixes for removing explicit tsrm_ls usage
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.h')
-rw-r--r-- | sapi/phpdbg/phpdbg_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_utils.h b/sapi/phpdbg/phpdbg_utils.h index a349cd1acf..4219af5713 100644 --- a/sapi/phpdbg/phpdbg_utils.h +++ b/sapi/phpdbg/phpdbg_utils.h @@ -98,7 +98,7 @@ PHPDBG_API void phpdbg_xml_var_dump(zval *zv); #define PHPDBG_OUTPUT_BACKUP_DEFINES() \ zend_output_globals *output_globals_ptr; \ zend_output_globals original_output_globals; \ - output_globals_ptr = (zend_output_globals *) (*((void ***) tsrm_ls))[TSRM_UNSHUFFLE_RSRC_ID(output_globals_id)]; + output_globals_ptr = (zend_output_globals *) (*((void ***) tsrm_get_ls_cache()))[TSRM_UNSHUFFLE_RSRC_ID(output_globals_id)]; #else #define PHPDBG_OUTPUT_BACKUP_DEFINES() \ zend_output_globals *output_globals_ptr; \ |