require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SYS_DISKLABEL_ACORN_H_)) {
    eval 'sub _SYS_DISKLABEL_ACORN_H_ () {1;}' unless defined(&_SYS_DISKLABEL_ACORN_H_);
    eval 'sub PARTITION_TYPE_UNUSED () {0;}' unless defined(&PARTITION_TYPE_UNUSED);
    eval 'sub PARTITION_TYPE_ADFS () {1;}' unless defined(&PARTITION_TYPE_ADFS);
    eval 'sub PARTITION_TYPE_RISCIX () {2;}' unless defined(&PARTITION_TYPE_RISCIX);
    eval 'sub PARTITION_FORMAT_RISCIX () {2;}' unless defined(&PARTITION_FORMAT_RISCIX);
    eval 'sub PARTITION_FORMAT_RISCBSD () {0x42;}' unless defined(&PARTITION_FORMAT_RISCBSD);
    eval 'sub FILECORE_BOOT_SECTOR () {6;}' unless defined(&FILECORE_BOOT_SECTOR);
    eval 'sub NRISCIX_PARTITIONS () {8;}' unless defined(&NRISCIX_PARTITIONS);
    eval 'sub RISCIX_PARTITION_OFFSET () {8;}' unless defined(&RISCIX_PARTITION_OFFSET);
    if(defined(&_KERNEL)  && !defined(&__ASSEMBLER__)) {
    }
}
1;
