require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_ARM_INT_TYPES_H_)) {
    eval 'sub _ARM_INT_TYPES_H_ () {1;}' unless defined(&_ARM_INT_TYPES_H_);
    if(defined(&__UINTPTR_TYPE__)) {
	require 'sys/common_int_types.ph';
    } else {
	require 'sys/cdefs.ph';
	unless(defined(&__UINT8_TYPE__)) {
	    eval 'sub __UINT8_TYPE__ () {\'unsigned char\';}' unless defined(&__UINT8_TYPE__);
	}
	unless(defined(&__INT8_TYPE__)) {
	    eval 'sub __INT8_TYPE__ () {\'signed char\';}' unless defined(&__INT8_TYPE__);
	}
	unless(defined(&__UINT16_TYPE__)) {
	    unless(defined(&__INT16_TYPE__)) {
		eval 'sub __INT16_TYPE__ () {\'short int\';}' unless defined(&__INT16_TYPE__);
	    }
	    eval 'sub __UINT16_TYPE__ () {\'unsigned __INT16_TYPE__\';}' unless defined(&__UINT16_TYPE__);
	}
	unless(defined(&__UINT32_TYPE__)) {
	    unless(defined(&__INT32_TYPE__)) {
		eval 'sub __INT32_TYPE__ () {\'int\';}' unless defined(&__INT32_TYPE__);
	    }
	    eval 'sub __UINT32_TYPE__ () {\'unsigned __INT32_TYPE__\';}' unless defined(&__UINT32_TYPE__);
	}
	unless(defined(&__UINT64_TYPE__)) {
	    unless(defined(&__INT64_TYPE__)) {
		eval 'sub __INT64_TYPE__ () {\'long long int\';}' unless defined(&__INT64_TYPE__);
	    }
	    eval 'sub __UINT64_TYPE__ () {\'unsigned __INT64_TYPE__\';}' unless defined(&__UINT64_TYPE__);
	}
	if(defined(&__clang__)) {
	} else {
	}
	eval 'sub __BIT_TYPES_DEFINED__ () {1;}' unless defined(&__BIT_TYPES_DEFINED__);
	unless(defined(&__UINTPTR_TYPE__)) {
	    unless(defined(&__INTPTR_TYPE__)) {
		eval 'sub __INTPTR_TYPE__ () {\'long int\';}' unless defined(&__INTPTR_TYPE__);
	    }
	    eval 'sub __UINTPTR_TYPE__ () {\'unsigned __INTPTR_TYPE__\';}' unless defined(&__UINTPTR_TYPE__);
	}
    }
}
1;
