require '_h2ph_pre.ph';

unless(defined(&WDCEVENT_H)) {
    eval 'sub WDCEVENT_H () {1;}' unless defined(&WDCEVENT_H);
    eval("sub WDCEVENT_STATUS () { 1; }") unless defined(&WDCEVENT_STATUS);
    eval("sub WDCEVENT_ERROR () { 2; }") unless defined(&WDCEVENT_ERROR);
    eval("sub WDCEVENT_ATAPI_CMD () { 3; }") unless defined(&WDCEVENT_ATAPI_CMD);
    eval("sub WDCEVENT_ATAPI_DONE () { 4; }") unless defined(&WDCEVENT_ATAPI_DONE);
    eval("sub WDCEVENT_ATA_SHORT () { 5; }") unless defined(&WDCEVENT_ATA_SHORT);
    eval("sub WDCEVENT_ATA_LONG () { 6; }") unless defined(&WDCEVENT_ATA_LONG);
    eval("sub WDCEVENT_SET_DRIVE1 () { 7; }") unless defined(&WDCEVENT_SET_DRIVE1);
    eval("sub WDCEVENT_SET_DRIVE0 () { 8; }") unless defined(&WDCEVENT_SET_DRIVE0);
    eval("sub WDCEVENT_REG () { 9; }") unless defined(&WDCEVENT_REG);
    eval("sub WDCEVENT_ATA_EXT () { 10; }") unless defined(&WDCEVENT_ATA_EXT);
    if(defined(&_KERNEL)) {
    }
}
1;
