require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_M88K_LOCK_H_)) {
    eval 'sub _M88K_LOCK_H_ () {1;}' unless defined(&_M88K_LOCK_H_);
    require 'm88k/asm.ph';
    eval 'sub __SIMPLELOCK_LOCKED () {1;}' unless defined(&__SIMPLELOCK_LOCKED);
    eval 'sub __SIMPLELOCK_UNLOCKED () {0;}' unless defined(&__SIMPLELOCK_UNLOCKED);
    if(defined( &_KERNEL)  && defined( &MULTIPROCESSOR)) {
	eval 'sub rw_cas () { &rw_cas_m88k;}' unless defined(&rw_cas);
    }
}
1;
