require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_MIPS_VARARGS_H_)) {
    eval 'sub _MIPS_VARARGS_H_ () {1;}' unless defined(&_MIPS_VARARGS_H_);
    require 'machine/stdarg.ph';
    eval 'sub va_dcl () {\'int\'  &va_alist; ...;}' unless defined(&va_dcl);
    undef(&va_start) if defined(&va_start);
    eval 'sub va_start {
        my($ap) = @_;
	    eval q($ap =  &va_alist);
    }' unless defined(&va_start);
}
1;
