require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_ARM_WCHAR_LIMITS_H_)) {
    eval 'sub _ARM_WCHAR_LIMITS_H_ () {1;}' unless defined(&_ARM_WCHAR_LIMITS_H_);
    if(defined(&__WCHAR_MIN__)) {
	eval 'sub WCHAR_MIN () { &__WCHAR_MIN__;}' unless defined(&WCHAR_MIN);
    }
 elsif((defined(&__WCHAR_UNSIGNED__) ? &__WCHAR_UNSIGNED__ : undef)) {
	eval 'sub WCHAR_MIN () {0;}' unless defined(&WCHAR_MIN);
    } else {
	eval 'sub WCHAR_MIN () {(-0x7fffffff-1);}' unless defined(&WCHAR_MIN);
    }
    if(defined(&__WCHAR_MAX__)) {
	eval 'sub WCHAR_MAX () { &__WCHAR_MAX__;}' unless defined(&WCHAR_MAX);
    }
 elsif((defined(&__WCHAR_UNSIGNED__) ? &__WCHAR_UNSIGNED__ : undef)) {
	eval 'sub WCHAR_MAX () {0xffffffff;}' unless defined(&WCHAR_MAX);
    } else {
	eval 'sub WCHAR_MAX () {0x7fffffff;}' unless defined(&WCHAR_MAX);
    }
    if(defined(&__WINT_MIN__)) {
	eval 'sub WINT_MIN () { &__WINT_MIN__;}' unless defined(&WINT_MIN);
    }
 elsif((defined(&__WINT_UNSIGNED__) ? &__WINT_UNSIGNED__ : undef)) {
	eval 'sub WINT_MIN () {0;}' unless defined(&WINT_MIN);
    } else {
	eval 'sub WINT_MIN () {(-0x7fffffff-1);}' unless defined(&WINT_MIN);
    }
    if(defined(&__WINT_MAX__)) {
	eval 'sub WINT_MAX () { &__WINT_MAX__;}' unless defined(&WINT_MAX);
    }
 elsif((defined(&__WINT_UNSIGNED__) ? &__WINT_UNSIGNED__ : undef)) {
	eval 'sub WINT_MAX () {0xffffffff;}' unless defined(&WINT_MAX);
    } else {
	eval 'sub WINT_MAX () {0x7fffffff;}' unless defined(&WINT_MAX);
    }
}
1;
