require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_POWERPC_FPU_H_)) {
    eval 'sub _POWERPC_FPU_H_ () {1;}' unless defined(&_POWERPC_FPU_H_);
    eval 'sub FPCSR_FX () {0x80000000;}' unless defined(&FPCSR_FX);
    eval 'sub FPCSR_FEX () {0x40000000;}' unless defined(&FPCSR_FEX);
    eval 'sub FPCSR_VX () {0x20000000;}' unless defined(&FPCSR_VX);
    eval 'sub FPCSR_OX () {0x10000000;}' unless defined(&FPCSR_OX);
    eval 'sub FPCSR_UX () {0x8000000;}' unless defined(&FPCSR_UX);
    eval 'sub FPCSR_ZX () {0x4000000;}' unless defined(&FPCSR_ZX);
    eval 'sub FPCSR_XX () {0x2000000;}' unless defined(&FPCSR_XX);
    eval 'sub FPCSR_VXSNAN () {0x1000000;}' unless defined(&FPCSR_VXSNAN);
    eval 'sub FPCSR_VXISI () {0x800000;}' unless defined(&FPCSR_VXISI);
    eval 'sub FPCSR_VXIDI () {0x400000;}' unless defined(&FPCSR_VXIDI);
    eval 'sub FPCSR_VXZDZ () {0x200000;}' unless defined(&FPCSR_VXZDZ);
    eval 'sub FPCSR_VXIMZ () {0x100000;}' unless defined(&FPCSR_VXIMZ);
    eval 'sub FPCSR_VXVC () {0x80000;}' unless defined(&FPCSR_VXVC);
    eval 'sub FPCSR_FR () {0x40000;}' unless defined(&FPCSR_FR);
    eval 'sub FPCSR_FI () {0x20000;}' unless defined(&FPCSR_FI);
    eval 'sub FPCSR_FPRF () {0x1f000;}' unless defined(&FPCSR_FPRF);
    eval 'sub FPCSR_C () {0x10000;}' unless defined(&FPCSR_C);
    eval 'sub FPCSR_FPCC () {0xf000;}' unless defined(&FPCSR_FPCC);
    eval 'sub FPCSR_FL () {0x8000;}' unless defined(&FPCSR_FL);
    eval 'sub FPCSR_FG () {0x4000;}' unless defined(&FPCSR_FG);
    eval 'sub FPCSR_FE () {0x2000;}' unless defined(&FPCSR_FE);
    eval 'sub FPCSR_FU () {0x1000;}' unless defined(&FPCSR_FU);
    eval 'sub FPCSR_VXSOFT () {0x400;}' unless defined(&FPCSR_VXSOFT);
    eval 'sub FPCSR_VXSQRT () {0x200;}' unless defined(&FPCSR_VXSQRT);
    eval 'sub FPCSR_VXCVI () {0x100;}' unless defined(&FPCSR_VXCVI);
    eval 'sub FPCSR_VE () {0x80;}' unless defined(&FPCSR_VE);
    eval 'sub FPCSR_OE () {0x40;}' unless defined(&FPCSR_OE);
    eval 'sub FPCSR_UE () {0x20;}' unless defined(&FPCSR_UE);
    eval 'sub FPCSR_ZE () {0x10;}' unless defined(&FPCSR_ZE);
    eval 'sub FPCSR_XE () {0x8;}' unless defined(&FPCSR_XE);
    eval 'sub FPCSR_NI () {0x4;}' unless defined(&FPCSR_NI);
    eval 'sub FPCSR_RN () {0x3;}' unless defined(&FPCSR_RN);
}
1;
