require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_ARM_SYSARCH_H_)) {
    eval 'sub _ARM_SYSARCH_H_ () {1;}' unless defined(&_ARM_SYSARCH_H_);
    require 'sys/cdefs.ph';
    require 'machine/ansi.ph';
    require 'sys/stdint.ph';
    unless(defined(&_KERNEL)) {
	require 'stdbool.ph';
    }
    if(defined(&_BSD_SIZE_T_)) {
	undef(&_BSD_SIZE_T_) if defined(&_BSD_SIZE_T_);
    }
    eval 'sub ARM_SYNC_ICACHE () {0;}' unless defined(&ARM_SYNC_ICACHE);
    eval 'sub ARM_DRAIN_WRITEBUF () {1;}' unless defined(&ARM_DRAIN_WRITEBUF);
    eval 'sub ARM_VFP_FPSCR () {2;}' unless defined(&ARM_VFP_FPSCR);
    eval 'sub ARM_FPU_USED () {3;}' unless defined(&ARM_FPU_USED);
    unless(defined(&_KERNEL)) {
    }
}
1;
