From: Art Cancro Date: Fri, 15 Feb 2002 03:40:06 +0000 (+0000) Subject: * Stu's changes (which he checked in without making any ChangeLog comments, X-Git-Tag: v7.86~6541 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=29bde5e9431a6be468790c4669b474d64b32e748;p=citadel.git * Stu's changes (which he checked in without making any ChangeLog comments, bad Stu!) didn't build properly without curses. Added #ifdef's. --- diff --git a/citadel/ChangeLog b/citadel/ChangeLog index bbab50b7f..ad83d1f98 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,8 @@ $Log$ + Revision 590.113 2002/02/15 03:40:06 ajc + * Stu's changes (which he checked in without making any ChangeLog comments, + bad Stu!) didn't build properly without curses. Added #ifdef's. + Revision 590.112 2002/02/13 22:15:10 ajc * That was stupid. @@ -3340,4 +3344,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/screen.c b/citadel/screen.c index 202cdd1c6..3d8f7766b 100644 --- a/citadel/screen.c +++ b/citadel/screen.c @@ -276,9 +276,11 @@ int scr_getc(void) #endif return getchar(); } + int scr_blockread(void) { - int a; + int a = 0; +#ifdef HAVE_CURSES_H wtimeout(mainwindow, S_KEEPALIVE); while (1) { @@ -288,6 +290,7 @@ int scr_blockread(void) break; /* a = scr_getc(); */ } +#endif return a; }