require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_MACHINE_REG_H_)) {
    eval 'sub _MACHINE_REG_H_ () {1;}' unless defined(&_MACHINE_REG_H_);
    require 'machine/fsr.ph';
    eval 'sub FP_QSIZE () {16;}' unless defined(&FP_QSIZE);
    eval 'sub ALIGNFPSTATE {
        my($f) = @_;
	    eval q((((($f))(~ &BLOCK_ALIGN))));
    }' unless defined(&ALIGNFPSTATE);
    eval 'sub reg () { &reg64;}' unless defined(&reg);
    eval 'sub fpreg () { &fpreg64;}' unless defined(&fpreg);
    eval 'sub fpstate () { &fpstate64;}' unless defined(&fpstate);
    eval 'sub trapframe () { &trapframe64;}' unless defined(&trapframe);
    eval 'sub rwindow () { &rwindow64;}' unless defined(&rwindow);
}
1;
