diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-08-30 08:06:44 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-08-30 08:06:44 +0000 |
commit | 9f3e1a8880a826c65a428ea9619c9793f4b46323 (patch) | |
tree | eb73fb72110833a27fdd7ce4a9b827852ddbf125 /games/mille/mille.h | |
parent | c507f6d0e3dc3562c613710a4a4b836a3a91f2a2 (diff) | |
download | src-9f3e1a8880a826c65a428ea9619c9793f4b46323.tar.gz src-9f3e1a8880a826c65a428ea9619c9793f4b46323.zip |
Update for libncurses.
Notes
Notes:
svn path=/head/; revision=50628
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 49a7bd2d560c..8c877be758cf 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; |