require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_I2O_IOPVAR_H_)) {
    eval 'sub _I2O_IOPVAR_H_ () {1;}' unless defined(&_I2O_IOPVAR_H_);
    eval 'sub IX_IN () {0x1;}' unless defined(&IX_IN);
    eval 'sub IX_OUT () {0x2;}' unless defined(&IX_OUT);
    eval 'sub IM_SYSMASK () {0xff;}' unless defined(&IM_SYSMASK);
    eval 'sub IM_REPLIED () {0x1;}' unless defined(&IM_REPLIED);
    eval 'sub IM_ALLOCED () {0x2;}' unless defined(&IM_ALLOCED);
    eval 'sub IM_SGLOFFADJ () {0x4;}' unless defined(&IM_SGLOFFADJ);
    eval 'sub IM_DISCARD () {0x8;}' unless defined(&IM_DISCARD);
    eval 'sub IM_FAIL () {0x10;}' unless defined(&IM_FAIL);
    eval 'sub IM_USERMASK () {0xff00;}' unless defined(&IM_USERMASK);
    eval 'sub IM_WAIT () {0x100;}' unless defined(&IM_WAIT);
    eval 'sub IM_POLL () {0x200;}' unless defined(&IM_POLL);
    eval 'sub IM_NOSTATUS () {0x400;}' unless defined(&IM_NOSTATUS);
    eval 'sub IM_POLL_INTR () {0x800;}' unless defined(&IM_POLL_INTR);
    eval 'sub II_DISCARD () {0x1;}' unless defined(&II_DISCARD);
    eval 'sub II_CONFIGURED () {0x2;}' unless defined(&II_CONFIGURED);
    eval 'sub II_UTILITY () {0x4;}' unless defined(&II_UTILITY);
    eval 'sub IOP_ICTX () {0;}' unless defined(&IOP_ICTX);
    eval 'sub IOP_INIT_CODE () {0x80;}' unless defined(&IOP_INIT_CODE);
    eval 'sub IOP_OPEN () {0x1;}' unless defined(&IOP_OPEN);
    eval 'sub IOP_HAVESTATUS () {0x2;}' unless defined(&IOP_HAVESTATUS);
    eval 'sub IOP_ONLINE () {0x4;}' unless defined(&IOP_ONLINE);
    eval 'sub IOPCF_TID () {0;}' unless defined(&IOPCF_TID);
    eval 'sub IOPCF_TID_DEFAULT () {-1;}' unless defined(&IOPCF_TID_DEFAULT);
    eval 'sub iopcf_tid () { $cf_loc[ &IOPCF_TID];}' unless defined(&iopcf_tid);
}
1;
