require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_MIPS64_ENDIAN_H_)) {
    eval 'sub _MIPS64_ENDIAN_H_ () {1;}' unless defined(&_MIPS64_ENDIAN_H_);
    if(defined( &__MIPSEL__)) {
	eval 'sub _BYTE_ORDER () { &_LITTLE_ENDIAN;}' unless defined(&_BYTE_ORDER);
    }
    if(defined( &__MIPSEB__)) {
	eval 'sub _BYTE_ORDER () { &_BIG_ENDIAN;}' unless defined(&_BYTE_ORDER);
    }
    if(!defined( &_BYTE_ORDER)  && !defined( &lint)) {
	die("__MIPSEL__ or __MIPSEB__ must be defined to define BYTE_ORDER!!!");
    }
    require 'sys/endian.ph';
    eval 'sub __STRICT_ALIGNMENT () {1;}' unless defined(&__STRICT_ALIGNMENT);
}
1;
