erasechar/killchar already defined in curses.h
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 7 Oct 1987 23:49:00 +0000 (15:49 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 7 Oct 1987 23:49:00 +0000 (15:49 -0800)
SCCS-vsn: games/cribbage/io.c 5.2

usr/src/games/cribbage/io.c

index 708dbd2..96f0494 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)io.c       5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)io.c       5.2 (Berkeley) %G%";
 #endif not lint
 
 # include      <curses.h>
 #endif not lint
 
 # include      <curses.h>
@@ -22,10 +22,10 @@ static char sccsid[] = "@(#)io.c    5.1 (Berkeley) %G%";
 # endif
 # define       CTRL(X)                 ('X' - 'A' + 1)
 
 # endif
 # define       CTRL(X)                 ('X' - 'A' + 1)
 
-# ifndef       attron
+# ifdef        notdef                          /* defined in curses.h */
 #      define  erasechar()     _tty.sg_erase
 #      define  killchar()      _tty.sg_kill
 #      define  erasechar()     _tty.sg_erase
 #      define  killchar()      _tty.sg_kill
-# endif                attron
+# endif
 
 char           linebuf[ LINESIZE ];
 
 
 char           linebuf[ LINESIZE ];