require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_AMD64_EXEC_H_)) {
    eval 'sub _AMD64_EXEC_H_ () {1;}' unless defined(&_AMD64_EXEC_H_);
    eval 'sub __LDPGSZ () {4096;}' unless defined(&__LDPGSZ);
    eval 'sub NATIVE_EXEC_ELF () {1;}' unless defined(&NATIVE_EXEC_ELF);
    eval 'sub ARCH_ELFSIZE () {64;}' unless defined(&ARCH_ELFSIZE);
    eval 'sub ELF_TARG_CLASS () { &ELFCLASS64;}' unless defined(&ELF_TARG_CLASS);
    eval 'sub ELF_TARG_DATA () { &ELFDATA2LSB;}' unless defined(&ELF_TARG_DATA);
    eval 'sub ELF_TARG_MACH () { &EM_AMD64;}' unless defined(&ELF_TARG_MACH);
    eval 'sub _NLIST_DO_ELF () {1;}' unless defined(&_NLIST_DO_ELF);
    eval 'sub _KERN_DO_ELF64 () {1;}' unless defined(&_KERN_DO_ELF64);
}
1;
