require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_CTYPE_H_)) {
    eval 'sub _CTYPE_H_ () {1;}' unless defined(&_CTYPE_H_);
    require 'sys/cdefs.ph';
    require 'sys/featuretest.ph';
    if(((defined(&_POSIX_C_SOURCE) ? &_POSIX_C_SOURCE : undef) - 0) >= 200809 || defined(&_NETBSD_SOURCE)) {
	unless(defined(&__LOCALE_T_DECLARED)) {
	    eval 'sub __LOCALE_T_DECLARED () {1;}' unless defined(&__LOCALE_T_DECLARED);
	}
    }
    if(defined(&_XOPEN_SOURCE) || defined(&_NETBSD_SOURCE)) {
    }
    if((!defined(&_ANSI_SOURCE)  && !defined(&_POSIX_C_SOURCE)  && !defined(&_XOPEN_SOURCE)) || (((defined(&_POSIX_C_SOURCE) ? &_POSIX_C_SOURCE : undef) - 0) >= 200112 || defined(&_ISOC99_SOURCE) || ((defined(&__STDC_VERSION__) ? &__STDC_VERSION__ : undef) - 0) >= 199901 || ((defined(&__cplusplus) ? &__cplusplus : undef) - 0) >= 201103 || ((defined(&_XOPEN_SOURCE) ? &_XOPEN_SOURCE : undef) - 0) > 600|| defined(&_NETBSD_SOURCE))) {
    }
    if(defined(&_NETBSD_SOURCE)  && !defined(&_CTYPE_NOINLINE)  && !defined(&__cplusplus)) {
	require 'sys/ctype_inline.ph';
    } else {
	require 'sys/ctype_bits.ph';
    }
}
1;
