require '_h2ph_pre.ph';

unless(defined(&LMC_TYPES_H)) {
    eval 'sub LMC_TYPES_H () {1;}' unless defined(&LMC_TYPES_H);
    if(defined( &_KERNEL)  && (defined( &__NetBSD__) || defined( &__OpenBSD__))) {
	eval 'sub LMC_IS_KERNEL () {1;}' unless defined(&LMC_IS_KERNEL);
    }
    if(defined( &KERNEL)  && defined( &__FreeBSD__)) {
	eval 'sub LMC_IS_KERNEL () {1;}' unless defined(&LMC_IS_KERNEL);
    }
    if(defined( &__KERNEL__)  && defined( &linux)) {
	eval 'sub LMC_IS_KERNEL () {1;}' unless defined(&LMC_IS_KERNEL);
    }
    if(defined( &LMC_IS_KERNEL)) {
	if(defined( &__NetBSD__) || defined( &__OpenBSD__)) {
	} else {
	}
	if(defined( &__NetBSD__) || defined( &__OpenBSD__)) {
	    eval 'sub lmc_intrfunc_t () {\'int\';}' unless defined(&lmc_intrfunc_t);
	}
	if(defined( &__FreeBSD__)) {
	    eval 'sub lmc_intrfunc_t () { &void;}' unless defined(&lmc_intrfunc_t);
	}
	if(defined( &__bsdi__)) {
	    eval 'sub lmc_intrfunc_t () {\'int\';}' unless defined(&lmc_intrfunc_t);
	}
    }
}
1;
