diff options
author | peter <peter@FreeBSD.org> | 1999-08-30 08:06:44 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-08-30 08:06:44 +0000 |
commit | 0ec4b5c44bd0db25af8da2316ae3af147daf6c71 (patch) | |
tree | 0588531bc75110236ec033db548890c2299558d4 /games/mille/mille.h | |
parent | 5891876970c7f18f2a4d27294c0ff76ae2e27b28 (diff) | |
download | FreeBSD-src-0ec4b5c44bd0db25af8da2316ae3af147daf6c71.zip FreeBSD-src-0ec4b5c44bd0db25af8da2316ae3af147daf6c71.tar.gz |
Update for libncurses.
Diffstat (limited to 'games/mille/mille.h')
-rw-r--r-- | games/mille/mille.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; |