require '_h2ph_pre.ph';

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 () {	0x0601;}
}
unless(defined(&STENOMEM)) {
    sub STENOMEM () {	0x0602;}
}
unless(defined(&STTIMEO)) {
    sub STTIMEO () {	0x0603;}
}
unless(defined(&STESLAG)) {
    sub STESLAG () {	0x0604;}
}
unless(defined(&STENOSUPP)) {
    sub STENOSUPP () {	0x0605;}
}
unless(defined(&STENOCARD)) {
    sub STENOCARD () {	0x0606;}
}
unless(defined(&STENOIMPL)) {
    sub STENOIMPL () {	0x0607;}
}
unless(defined(&STEDRVR)) {
    sub STEDRVR () {	0x0608;}
}
unless(defined(&STECOMM)) {
    sub STECOMM () {	0x0609;}
}
unless(defined(&STECLOSED)) {
    sub STECLOSED () {	0x060a;}
}
unless(defined(&STECNFFILES)) {
    sub STECNFFILES () {	0x060c;}
}
unless(defined(&STEUNKNOWN)) {
    sub STEUNKNOWN () {	0x060d;}
}
unless(defined(&STENOFILE)) {
    sub STENOFILE () {	0x6a82;}
}
unless(defined(&sectok_r1)) {
    sub sectok_r1 {
	local($sw) = @_;
	eval q(((($sw) >> 8) & 0xff));
    }
}
unless(defined(&sectok_r2)) {
    sub sectok_r2 {
	local($sw) = @_;
	eval q((($sw) & 0xff));
    }
}
unless(defined(&sectok_mksw)) {
    sub sectok_mksw {
	local($r1, $r2) = @_;
	eval q(((($r1) << 8) | ($r2)));
    }
}
unless(defined(&sectok_swOK)) {
    sub sectok_swOK {
	local($sw) = @_;
	eval q(( &sectok_r1($sw) == 0x90 ||  &sectok_r1($sw) == 0x61));
    }
}
unless(defined(&__palmos__)) {
}
1;
