From 0ec4b5c44bd0db25af8da2316ae3af147daf6c71 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 30 Aug 1999 08:06:44 +0000 Subject: Update for libncurses. --- games/mille/mille.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'games/mille/mille.h') diff --git a/games/mille/mille.h b/games/mille/mille.h index 49a7bd2..8c877be 100644 --- a/games/mille/mille.h +++ b/games/mille/mille.h @@ -151,7 +151,9 @@ # ifdef SYSV # define srandom(x) srand(x) # define random() rand() +# endif +# if defined(SYSV) || defined(__FreeBSD__) # ifndef attron # define erasechar() _tty.c_cc[VERASE] # define killchar() _tty.c_cc[VKILL] @@ -163,6 +165,10 @@ # endif # endif SYSV +#ifndef reg +#define reg /* register */ +#endif + typedef struct { bool coups[NUM_SAFE]; bool can_go; -- cgit v1.1