require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_MACHINE_DISKLABEL_H_)) {
    eval 'sub _MACHINE_DISKLABEL_H_ () {1;}' unless defined(&_MACHINE_DISKLABEL_H_);
    eval 'sub SGI_LABELSECTOR () {1;}' unless defined(&SGI_LABELSECTOR);
    eval 'sub SGI_LABELOFFSET () {0;}' unless defined(&SGI_LABELOFFSET);
    eval 'sub I386_LABELSECTOR () {1;}' unless defined(&I386_LABELSECTOR);
    eval 'sub I386_LABELOFFSET () {0;}' unless defined(&I386_LABELOFFSET);
    eval 'sub LABELSECTOR () { &SGI_LABELSECTOR;}' unless defined(&LABELSECTOR);
    eval 'sub LABELOFFSET () { &SGI_LABELOFFSET;}' unless defined(&LABELOFFSET);
    eval 'sub MAXPARTITIONS () {16;}' unless defined(&MAXPARTITIONS);
    eval 'sub RAW_PART () {2;}' unless defined(&RAW_PART);
    eval 'sub DOSBBSECTOR () {0;}' unless defined(&DOSBBSECTOR);
    eval 'sub DOSPARTOFF () {446;}' unless defined(&DOSPARTOFF);
    eval 'sub DOSACTIVE () {0x80;}' unless defined(&DOSACTIVE);
    eval 'sub NDOSPART () {4;}' unless defined(&NDOSPART);
    eval 'sub DOSMBR_SIGNATURE () {0xaa55;}' unless defined(&DOSMBR_SIGNATURE);
    eval 'sub DOSMBR_SIGNATURE_OFF () {0x1fe;}' unless defined(&DOSMBR_SIGNATURE_OFF);
    eval 'sub DOSPTYP_UNUSED () {0x;}' unless defined(&DOSPTYP_UNUSED);
    eval 'sub DOSPTYP_FAT12 () {0x1;}' unless defined(&DOSPTYP_FAT12);
    eval 'sub DOSPTYP_FAT16S () {0x4;}' unless defined(&DOSPTYP_FAT16S);
    eval 'sub DOSPTYP_EXTEND () {0x5;}' unless defined(&DOSPTYP_EXTEND);
    eval 'sub DOSPTYP_FAT16B () {0x6;}' unless defined(&DOSPTYP_FAT16B);
    eval 'sub DOSPTYP_FAT32 () {0xb;}' unless defined(&DOSPTYP_FAT32);
    eval 'sub DOSPTYP_FAT32L () {0xc;}' unless defined(&DOSPTYP_FAT32L);
    eval 'sub DOSPTYP_FAT16L () {0xe;}' unless defined(&DOSPTYP_FAT16L);
    eval 'sub DOSPTYP_EXTENDL () {0xf;}' unless defined(&DOSPTYP_EXTENDL);
    eval 'sub DOSPTYP_ONTRACK () {0x54;}' unless defined(&DOSPTYP_ONTRACK);
    eval 'sub DOSPTYP_LINUX () {0x83;}' unless defined(&DOSPTYP_LINUX);
    eval 'sub DOSPTYP_FREEBSD () {0xa5;}' unless defined(&DOSPTYP_FREEBSD);
    eval 'sub DOSPTYP_OPENBSD () {0xa6;}' unless defined(&DOSPTYP_OPENBSD);
    eval 'sub DOSPTYP_NETBSD () {0xa9;}' unless defined(&DOSPTYP_NETBSD);
    eval 'sub DPSECT {
        my($s) = @_;
	    eval q((($s) & 0x3f));
    }' unless defined(&DPSECT);
    eval 'sub DPCYL {
        my($c, $s) = @_;
	    eval q((($c) + ((($s) & 0xc0) << 2)));
    }' unless defined(&DPCYL);
    eval 'sub SGILABEL_MAGIC () {0xbe5a941;}' unless defined(&SGILABEL_MAGIC);
    eval 'sub SGI_PTYPE_VOLHDR () {0;}' unless defined(&SGI_PTYPE_VOLHDR);
    eval 'sub SGI_PTYPE_RAW () {3;}' unless defined(&SGI_PTYPE_RAW);
    eval 'sub SGI_PTYPE_BSD () {4;}' unless defined(&SGI_PTYPE_BSD);
    eval 'sub SGI_PTYPE_VOLUME () {6;}' unless defined(&SGI_PTYPE_VOLUME);
    eval 'sub SGI_PTYPE_EFS () {7;}' unless defined(&SGI_PTYPE_EFS);
    eval 'sub SGI_PTYPE_LVOL () {8;}' unless defined(&SGI_PTYPE_LVOL);
    eval 'sub SGI_PTYPE_RLVOL () {9;}' unless defined(&SGI_PTYPE_RLVOL);
    eval 'sub SGI_PTYPE_XFS () {10;}' unless defined(&SGI_PTYPE_XFS);
    eval 'sub SGI_PTYPE_XFSLOG () {11;}' unless defined(&SGI_PTYPE_XFSLOG);
    eval 'sub SGI_PTYPE_XLV () {12;}' unless defined(&SGI_PTYPE_XLV);
    eval 'sub SGI_PTYPE_XVM () {13;}' unless defined(&SGI_PTYPE_XVM);
}
1;
