require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_POWERPC_FENV_H_)) {
    eval 'sub _POWERPC_FENV_H_ () {1;}' unless defined(&_POWERPC_FENV_H_);
    eval 'sub FE_INEXACT () {0x2000000;}' unless defined(&FE_INEXACT);
    eval 'sub FE_DIVBYZERO () {0x4000000;}' unless defined(&FE_DIVBYZERO);
    eval 'sub FE_UNDERFLOW () {0x8000000;}' unless defined(&FE_UNDERFLOW);
    eval 'sub FE_OVERFLOW () {0x10000000;}' unless defined(&FE_OVERFLOW);
    eval 'sub FE_INVALID () {0x20000000;}' unless defined(&FE_INVALID);
    eval 'sub _FE_INVALID_SOFT () {0x400;}' unless defined(&_FE_INVALID_SOFT);
    eval 'sub _FE_INVALID_ALL () {0x1f80700;}' unless defined(&_FE_INVALID_ALL);
    eval 'sub FE_ALL_EXCEPT () {( &FE_INEXACT |  &FE_DIVBYZERO |  &FE_UNDERFLOW |  &FE_OVERFLOW |  &FE_INVALID);}' unless defined(&FE_ALL_EXCEPT);
    eval 'sub _MASK_SHIFT () {22;}' unless defined(&_MASK_SHIFT);
    eval 'sub FE_TONEAREST () {0x;}' unless defined(&FE_TONEAREST);
    eval 'sub FE_TOWARDZERO () {0x1;}' unless defined(&FE_TOWARDZERO);
    eval 'sub FE_UPWARD () {0x2;}' unless defined(&FE_UPWARD);
    eval 'sub FE_DOWNWARD () {0x3;}' unless defined(&FE_DOWNWARD);
    eval 'sub _ROUND_MASK () {( &FE_TONEAREST |  &FE_TOWARDZERO |  &FE_UPWARD |  &FE_DOWNWARD);}' unless defined(&_ROUND_MASK);
    eval 'sub FE_DFL_ENV () {(( &const  &fenv_t *)& &__fe_dfl_env);}' unless defined(&FE_DFL_ENV);
}
1;
