require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SPARC64_SIGNAL_H_)) {
    eval 'sub _SPARC64_SIGNAL_H_ () {1;}' unless defined(&_SPARC64_SIGNAL_H_);
    unless(defined(&_LOCORE)) {
	require 'sys/cdefs.ph';
	if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : undef) || (defined(&__XPG_VISIBLE) ? &__XPG_VISIBLE : undef) >= 420) {
	}
    }
    if(defined( &_LOCORE) || (defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : undef)) {
	eval 'sub FPE_INTOVF_TRAP () {0x1;}' unless defined(&FPE_INTOVF_TRAP);
	eval 'sub FPE_INTDIV_TRAP () {0x14;}' unless defined(&FPE_INTDIV_TRAP);
	eval 'sub FPE_FLTINEX_TRAP () {0xc4;}' unless defined(&FPE_FLTINEX_TRAP);
	eval 'sub FPE_FLTDIV_TRAP () {0xc8;}' unless defined(&FPE_FLTDIV_TRAP);
	eval 'sub FPE_FLTUND_TRAP () {0xcc;}' unless defined(&FPE_FLTUND_TRAP);
	eval 'sub FPE_FLTOPERR_TRAP () {0xd0;}' unless defined(&FPE_FLTOPERR_TRAP);
	eval 'sub FPE_FLTOVF_TRAP () {0xd4;}' unless defined(&FPE_FLTOVF_TRAP);
    }
}
1;
