diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2002-10-21 14:56:42 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2002-10-21 14:56:42 +0000 |
commit | ed75204a85a21789b3a257fcd24029f98bb4b4ff (patch) | |
tree | c7e082552cacc45376d21cf503ec9c9ee14fff07 /ext/ncurses | |
parent | b9efd223395eb66bf7503a3f8a86d8eb67d4ae13 (diff) | |
download | php-git-ed75204a85a21789b3a257fcd24029f98bb4b4ff.tar.gz |
ZTS build fix
Diffstat (limited to 'ext/ncurses')
-rw-r--r-- | ext/ncurses/php_ncurses.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ncurses/php_ncurses.h b/ext/ncurses/php_ncurses.h index 24e147eda1..3cf60cf72e 100644 --- a/ext/ncurses/php_ncurses.h +++ b/ext/ncurses/php_ncurses.h @@ -59,7 +59,7 @@ ZEND_END_MODULE_GLOBALS(ncurses) */ #ifdef ZTS -#define NCURSES_G(v) (ncurses_globals->v) +#define NCURSES_G(v) TSRMG(ncurses_globals_id, zend_ncurses_globals *, v) #define NCURSES_LS_FETCH() zend_ncurses_globals *ncurses_globals = ts_resource(ncurses_globals_id) #else #define NCURSES_G(v) (ncurses_globals.v) |