require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_MACHINE_DISKLABEL_H_)) {
    eval 'sub _MACHINE_DISKLABEL_H_ () {1;}' unless defined(&_MACHINE_DISKLABEL_H_);
    eval 'sub LABELSECTOR () {1;}' unless defined(&LABELSECTOR);
    eval 'sub LABELOFFSET () {0;}' unless defined(&LABELOFFSET);
    eval 'sub MAXPARTITIONS () {16;}' unless defined(&MAXPARTITIONS);
    eval 'sub PART_ENTRY_MAGIC () {0x504d;}' unless defined(&PART_ENTRY_MAGIC);
    if(0) {
    }
    eval 'sub PART_TYPE_DRIVER () {"APPLE_DRIVER";}' unless defined(&PART_TYPE_DRIVER);
    eval 'sub PART_TYPE_DRIVER43 () {"APPLE_DRIVER43";}' unless defined(&PART_TYPE_DRIVER43);
    eval 'sub PART_TYPE_DRIVERATA () {"APPLE_DRIVER_ATA";}' unless defined(&PART_TYPE_DRIVERATA);
    eval 'sub PART_TYPE_DRIVERIOKIT () {"APPLE_DRIVER_IOKIT";}' unless defined(&PART_TYPE_DRIVERIOKIT);
    eval 'sub PART_TYPE_FWDRIVER () {"APPLE_FWDRIVER";}' unless defined(&PART_TYPE_FWDRIVER);
    eval 'sub PART_TYPE_FWB_COMPONENT () {"FWB DRIVER COMPONENTS";}' unless defined(&PART_TYPE_FWB_COMPONENT);
    eval 'sub PART_TYPE_FREE () {"APPLE_FREE";}' unless defined(&PART_TYPE_FREE);
    eval 'sub PART_TYPE_MAC () {"APPLE_HFS";}' unless defined(&PART_TYPE_MAC);
    eval 'sub PART_TYPE_OPENBSD () {"OPENBSD";}' unless defined(&PART_TYPE_OPENBSD);
}
1;
