From: foobar Date: Fri, 14 Dec 2001 03:05:54 +0000 (+0000) Subject: Got some undefined symbol without this patch.. X-Git-Tag: PRE_ISSET_PATCH~556 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae24aa4b8e25204896c61d1c2f522b89b535f286;p=php Got some undefined symbol without this patch.. # Also, shouldn't this extension be only available when building a CGI ? --- diff --git a/ext/ncurses/ncurses_fe.c b/ext/ncurses/ncurses_fe.c index 670203e098..8942de23f8 100644 --- a/ext/ncurses/ncurses_fe.c +++ b/ext/ncurses/ncurses_fe.c @@ -133,7 +133,11 @@ function_entry ncurses_functions[] = { PHP_FE(ncurses_mvinch, NULL) PHP_FE(ncurses_mvwaddstr, NULL) PHP_FE(ncurses_insstr, NULL) + +#if 0 PHP_FE(ncurses_instr, NULL) +#endif + PHP_FE(ncurses_mvhline, NULL) PHP_FE(ncurses_mvcur, NULL) PHP_FE(ncurses_init_color, NULL) diff --git a/ext/ncurses/php_ncurses_fe.h b/ext/ncurses/php_ncurses_fe.h index 1833e187b4..d5d3c0a85e 100644 --- a/ext/ncurses/php_ncurses_fe.h +++ b/ext/ncurses/php_ncurses_fe.h @@ -123,7 +123,11 @@ PHP_FUNCTION(ncurses_mvgetch); PHP_FUNCTION(ncurses_mvinch); PHP_FUNCTION(ncurses_mvwaddstr); PHP_FUNCTION(ncurses_insstr); + +#if 0 PHP_FUNCTION(ncurses_instr); +#endif + PHP_FUNCTION(ncurses_mvhline); PHP_FUNCTION(ncurses_mvcur); PHP_FUNCTION(ncurses_init_color);