require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&STONOWAIT)) {
    sub STONOWAIT () {	0x1;}
}
unless(defined(&STOHUP)) {
    sub STOHUP () {	0x4;}
}
unless(defined(&STRV)) {
    sub STRV () {	0x1;}
}
unless(defined(&STRLEN)) {
    sub STRLEN () {	0x2;}
}
unless(defined(&STRFORCE)) {
    sub STRFORCE () {	0x8;}
}
unless(defined(&STEOK)) {
    sub STEOK () {	0x9000;}
}
unless(defined(&STENOTTY)) {
    sub STENOTTY () {	0x601;}
}
unless(defined(&STENOMEM)) {
    sub STENOMEM () {	0x602;}
}
unless(defined(&STTIMEO)) {
    sub STTIMEO () {	0x603;}
}
unless(defined(&STESLAG)) {
    sub STESLAG () {	0x604;}
}
unless(defined(&STENOSUPP)) {
    sub STENOSUPP () {	0x605;}
}
unless(defined(&STENOCARD)) {
    sub STENOCARD () {	0x606;}
}
unless(defined(&STENOIMPL)) {
    sub STENOIMPL () {	0x607;}
}
unless(defined(&STEDRVR)) {
    sub STEDRVR () {	0x608;}
}
unless(defined(&STECOMM)) {
    sub STECOMM () {	0x609;}
}
unless(defined(&STECLOSED)) {
    sub STECLOSED () {	0x60a;}
}
unless(defined(&STECNFFILES)) {
    sub STECNFFILES () {	0x60c;}
}
unless(defined(&STEUNKNOWN)) {
    sub STEUNKNOWN () {	0x60d;}
}
unless(defined(&STENOFILE)) {
    sub STENOFILE () {	0x6a82;}
}
unless(defined(&sectok_r1)) {
    sub sectok_r1 {
	my($sw) = @_;
	eval q(((($sw) >> 8) & 0xff));
    }
}
unless(defined(&sectok_r2)) {
    sub sectok_r2 {
	my($sw) = @_;
	eval q((($sw) & 0xff));
    }
}
unless(defined(&sectok_mksw)) {
    sub sectok_mksw {
	my($r1, $r2) = @_;
	eval q(((($r1) << 8) | ($r2)));
    }
}
unless(defined(&sectok_swOK)) {
    sub sectok_swOK {
	my($sw) = @_;
	eval q(( &sectok_r1($sw) == 0x90 ||  &sectok_r1($sw) == 0x61));
    }
}
unless(defined(&__palmos__)) {
}
1;
