require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_NCU_TERMCAP_H)) {
    eval 'sub _NCU_TERMCAP_H () {1;}' unless defined(&_NCU_TERMCAP_H);
    undef(&NCURSES_VERSION) if defined(&NCURSES_VERSION);
    eval 'sub NCURSES_VERSION () {"5.2";}' unless defined(&NCURSES_VERSION);
    if(!defined( &NCURSES_IMPEXP)) {
	eval 'sub NCURSES_IMPEXP () {1;}' unless defined(&NCURSES_IMPEXP);
    }
    if(!defined( &NCURSES_API)) {
	eval 'sub NCURSES_API () {1;}' unless defined(&NCURSES_API);
    }
    if(!defined( &NCURSES_EXPORT)) {
	eval 'sub NCURSES_EXPORT {
	    my($type) = @_;
    	    eval q( &NCURSES_IMPEXP $type  &NCURSES_API);
	}' unless defined(&NCURSES_EXPORT);
    }
    if(!defined( &NCURSES_EXPORT_VAR)) {
	eval 'sub NCURSES_EXPORT_VAR {
	    my($type) = @_;
    	    eval q( &NCURSES_IMPEXP $type);
	}' unless defined(&NCURSES_EXPORT_VAR);
    }
    if(defined(&__cplusplus)) {
    }
    require 'sys/types.ph';
    undef(&NCURSES_CONST) if defined(&NCURSES_CONST);
    eval 'sub NCURSES_CONST () {1;}' unless defined(&NCURSES_CONST);
    undef(&NCURSES_OSPEED) if defined(&NCURSES_OSPEED);
    eval 'sub NCURSES_OSPEED () {\'short\';}' unless defined(&NCURSES_OSPEED);
    if(!defined( &_NCU_TERM_H)) {
    }
    if(defined(&__cplusplus)) {
    }
}
1;
