Fix build on FreeBSD 9 where <sys/pc98.h> has the same defines as
<sys/diskmbr.h> and not the unique defines introduced later.
This commit is contained in:
parent
9ba5b6b730
commit
9bc923cbde
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263923
@ -38,6 +38,19 @@ __FBSDID("$FreeBSD$");
|
||||
#include "mkimg.h"
|
||||
#include "scheme.h"
|
||||
|
||||
#ifndef PC98_MAGIC
|
||||
#define PC98_MAGIC 0xaa55
|
||||
#endif
|
||||
#ifndef PC98_MAGICOFS
|
||||
#define PC98_MAGICOFS 510
|
||||
#endif
|
||||
#ifndef PC98_NPARTS
|
||||
#define PC98_NPARTS 16
|
||||
#endif
|
||||
#ifndef PC98_PTYP_386BSD
|
||||
#define PC98_PTYP_386BSD 0xc494
|
||||
#endif
|
||||
|
||||
#define PC98_BOOTCODESZ 8192
|
||||
|
||||
static struct mkimg_alias pc98_aliases[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user