require '_h2ph_pre.ph';

unless(defined(&CI_LZS_COMPRESS)) {
    sub CI_LZS_COMPRESS () {	17;}
}
unless(defined(&CILEN_LZS_COMPRESS)) {
    sub CILEN_LZS_COMPRESS () {	5;}
}
unless(defined(&LZS_CMODE_NONE)) {
    sub LZS_CMODE_NONE () {	0;}
}
unless(defined(&LZS_CMODE_LCB)) {
    sub LZS_CMODE_LCB () {	1;}
}
unless(defined(&LZS_CMODE_CRC)) {
    sub LZS_CMODE_CRC () {	2;}
}
unless(defined(&LZS_CMODE_SEQNO)) {
    sub LZS_CMODE_SEQNO () {	3;}
}
unless(defined(&LZS_CMODE_EXT)) {
    sub LZS_CMODE_EXT () {	4;}
}
unless(defined(&LZS_COMP_MAX_HISTS)) {
    sub LZS_COMP_MAX_HISTS () {	1;}
}
unless(defined(&LZS_COMP_DEF_HISTS)) {
    sub LZS_COMP_DEF_HISTS () {	1;}
}
unless(defined(&LZS_DECOMP_MAX_HISTS)) {
    sub LZS_DECOMP_MAX_HISTS () {	32;}
}
unless(defined(&LZS_DECOMP_DEF_HISTS)) {
    sub LZS_DECOMP_DEF_HISTS () {	8;}
}
unless(defined(&LZS_HIST_BYTE1)) {
    sub LZS_HIST_BYTE1 {
	local($word) = @_;
	eval q(($word>>8));
    }
}
unless(defined(&LZS_HIST_BYTE2)) {
    sub LZS_HIST_BYTE2 {
	local($word) = @_;
	eval q(($word&0xff));
    }
}
unless(defined(&LZS_HIST_WORD)) {
    sub LZS_HIST_WORD {
	local($b1,$b2) = @_;
	eval q((($b1<<8)|$b2));
    }
}
1;
