require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_TTYDEV_H_)) {
    eval 'sub _SYS_TTYDEV_H_ () {1;}' unless defined(&_SYS_TTYDEV_H_);
    if(defined(&USE_OLD_TTY)) {
	eval 'sub B0 () {0;}' unless defined(&B0);
	eval 'sub B50 () {1;}' unless defined(&B50);
	eval 'sub B75 () {2;}' unless defined(&B75);
	eval 'sub B110 () {3;}' unless defined(&B110);
	eval 'sub B134 () {4;}' unless defined(&B134);
	eval 'sub B150 () {5;}' unless defined(&B150);
	eval 'sub B200 () {6;}' unless defined(&B200);
	eval 'sub B300 () {7;}' unless defined(&B300);
	eval 'sub B600 () {8;}' unless defined(&B600);
	eval 'sub B1200 () {9;}' unless defined(&B1200);
	eval 'sub B1800 () {10;}' unless defined(&B1800);
	eval 'sub B2400 () {11;}' unless defined(&B2400);
	eval 'sub B4800 () {12;}' unless defined(&B4800);
	eval 'sub B9600 () {13;}' unless defined(&B9600);
	eval 'sub EXTA () {14;}' unless defined(&EXTA);
	eval 'sub EXTB () {15;}' unless defined(&EXTB);
	eval 'sub B57600 () {16;}' unless defined(&B57600);
	eval 'sub B115200 () {17;}' unless defined(&B115200);
    }
}
1;
