diff options
author | foobar <sniper@php.net> | 2005-01-20 02:02:09 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-01-20 02:02:09 +0000 |
commit | 2c65e09a4b5332fb35e785506a014da4502c7a8f (patch) | |
tree | 93687ed08c718ffd282b3511057edb204252a618 /ext/ncurses/ncurses_functions.c | |
parent | 480a3b08d5a045fb228a5ee628b5108db82ec2a6 (diff) | |
download | php-git-2c65e09a4b5332fb35e785506a014da4502c7a8f.tar.gz |
- Revert the weird change of ZEND_STRS() macro and use the correct
ZEND_STRL() macro.
# ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
Diffstat (limited to 'ext/ncurses/ncurses_functions.c')
-rw-r--r-- | ext/ncurses/ncurses_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ncurses/ncurses_functions.c b/ext/ncurses/ncurses_functions.c index 90d416eb46..7a770a009f 100644 --- a/ext/ncurses/ncurses_functions.c +++ b/ext/ncurses/ncurses_functions.c @@ -149,7 +149,7 @@ PHP_FUNCTION(ncurses_init) c.value = *zscr; zval_copy_ctor(&c.value); c.flags = CONST_CS; - c.name = zend_strndup(ZEND_STRS("STDSCR")); + c.name = zend_strndup(ZEND_STRL("STDSCR")); c.name_len = sizeof("STDSCR"); zend_register_constant(&c TSRMLS_CC); @@ -162,7 +162,7 @@ PHP_FUNCTION(ncurses_init) c.value = *zscr; \ zval_copy_ctor(&c.value); \ c.flags = CONST_CS; \ - c.name = zend_strndup(ZEND_STRS("NCURSES_" #x)); \ + c.name = zend_strndup(ZEND_STRL("NCURSES_" #x)); \ c.name_len = sizeof("NCURSES_" #x); \ zend_register_constant(&c TSRMLS_CC) |