]> granicus.if.org Git - php/commitdiff
Got some undefined symbol without this patch..
authorfoobar <sniper@php.net>
Fri, 14 Dec 2001 03:05:54 +0000 (03:05 +0000)
committerfoobar <sniper@php.net>
Fri, 14 Dec 2001 03:05:54 +0000 (03:05 +0000)
# Also, shouldn't this extension be only available when building a CGI ?

ext/ncurses/ncurses_fe.c
ext/ncurses/php_ncurses_fe.h

index 670203e098fcc7832138fc090288f87b50002c7c..8942de23f89880afcec58398619d6502e7da2515 100644 (file)
@@ -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)
index 1833e187b41ec134d53a7dee47d4b906f5df8432..d5d3c0a85ee848d724e7242217b1622e5951ab77 100644 (file)
@@ -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);