define A_NORMAL and/or A_REVERSE if undefined.
This commit is contained in:
parent
c7b7ecb074
commit
07b947e669
2 changed files with 21 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
1999-10-02 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||
|
||||
Now it is possible to build the grub shell with old BSD curses.
|
||||
|
||||
* stage2/shared.h [!A_NORMAL] (A_NORMAL): Set to zero.
|
||||
[!A_REVERSE && A_STANDOUT] (A_REVERSE): Set to A_STANDOUT.
|
||||
[!A_REVERSE && !A_STANDOUT] (A_REVERSE): Set to zero.
|
||||
|
||||
1999-09-30 Pavel Roskin <pavel_roskin@geocities.com>
|
||||
|
||||
* stage2/disk_io.c (set_bootdev): Mask 0x7F instead of 0x79 of
|
||||
|
|
|
@ -264,6 +264,19 @@ extern char *grub_scratch_mem;
|
|||
# include <curses.h>
|
||||
#endif
|
||||
|
||||
/* In old BSD curses, A_NORMAL and A_REVERSE are not defined, so we
|
||||
define them here if they are undefined. */
|
||||
#ifndef A_NORMAL
|
||||
# define A_NORMAL 0
|
||||
#endif /* ! A_NORMAL */
|
||||
#ifndef A_REVERSE
|
||||
# ifdef A_STANDOUT
|
||||
# define A_REVERSE A_STANDOUT
|
||||
# else /* ! A_STANDOUT */
|
||||
# define A_REVERSE 0
|
||||
# endif /* ! A_STANDOUT */
|
||||
#endif /* ! A_REVERSE */
|
||||
|
||||
/* Special graphics characters for IBM displays. */
|
||||
#define DISP_UL 218
|
||||
#define DISP_UR 191
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue