erasechar/killchar already defined in curses.h
[unix-history] / 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 ];