require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&LZMA_H_INTERNAL)) {
    die("Never\ include\ this\ file\ directly\.\ Use\ \<lzma\.h\>\ instead\.");
}
eval 'sub LZMA_VERSION_MAJOR () {5;}' unless defined(&LZMA_VERSION_MAJOR);
eval 'sub LZMA_VERSION_MINOR () {2;}' unless defined(&LZMA_VERSION_MINOR);
eval 'sub LZMA_VERSION_PATCH () {4;}' unless defined(&LZMA_VERSION_PATCH);
eval 'sub LZMA_VERSION_STABILITY () { &LZMA_VERSION_STABILITY_STABLE;}' unless defined(&LZMA_VERSION_STABILITY);
unless(defined(&LZMA_VERSION_COMMIT)) {
    eval 'sub LZMA_VERSION_COMMIT () {"";}' unless defined(&LZMA_VERSION_COMMIT);
}
eval 'sub LZMA_VERSION_STABILITY_ALPHA () {0;}' unless defined(&LZMA_VERSION_STABILITY_ALPHA);
eval 'sub LZMA_VERSION_STABILITY_BETA () {1;}' unless defined(&LZMA_VERSION_STABILITY_BETA);
eval 'sub LZMA_VERSION_STABILITY_STABLE () {2;}' unless defined(&LZMA_VERSION_STABILITY_STABLE);
eval 'sub LZMA_VERSION () {( &LZMA_VERSION_MAJOR *  &UINT32_C(10000000) +  &LZMA_VERSION_MINOR *  &UINT32_C(10000) +  &LZMA_VERSION_PATCH *  &UINT32_C(10) +  &LZMA_VERSION_STABILITY);}' unless defined(&LZMA_VERSION);
if((defined(&LZMA_VERSION_STABILITY) ? &LZMA_VERSION_STABILITY : undef) == (defined(&LZMA_VERSION_STABILITY_ALPHA) ? &LZMA_VERSION_STABILITY_ALPHA : undef)) {
    eval 'sub LZMA_VERSION_STABILITY_STRING () {"alpha";}' unless defined(&LZMA_VERSION_STABILITY_STRING);
}
 elsif((defined(&LZMA_VERSION_STABILITY) ? &LZMA_VERSION_STABILITY : undef) == (defined(&LZMA_VERSION_STABILITY_BETA) ? &LZMA_VERSION_STABILITY_BETA : undef)) {
    eval 'sub LZMA_VERSION_STABILITY_STRING () {"beta";}' unless defined(&LZMA_VERSION_STABILITY_STRING);
}
 elsif((defined(&LZMA_VERSION_STABILITY) ? &LZMA_VERSION_STABILITY : undef) == (defined(&LZMA_VERSION_STABILITY_STABLE) ? &LZMA_VERSION_STABILITY_STABLE : undef)) {
    eval 'sub LZMA_VERSION_STABILITY_STRING () {"";}' unless defined(&LZMA_VERSION_STABILITY_STRING);
} else {
    die("Incorrect\ LZMA_VERSION_STABILITY");
}
eval 'sub LZMA_VERSION_STRING_C_ {
    my($major, $minor, $patch, $stability, $commit) = @_;
	eval q($major \\".\\" $minor \\".\\" $patch $stability $commit);
}' unless defined(&LZMA_VERSION_STRING_C_);
eval 'sub LZMA_VERSION_STRING_C {
    my($major, $minor, $patch, $stability, $commit) = @_;
	eval q( &LZMA_VERSION_STRING_C_($major, $minor, $patch, $stability, $commit));
}' unless defined(&LZMA_VERSION_STRING_C);
eval 'sub LZMA_VERSION_STRING () { &LZMA_VERSION_STRING_C(  &LZMA_VERSION_MAJOR,  &LZMA_VERSION_MINOR,  &LZMA_VERSION_PATCH,  &LZMA_VERSION_STABILITY_STRING,  &LZMA_VERSION_COMMIT);}' unless defined(&LZMA_VERSION_STRING);
unless(defined(&LZMA_H_INTERNAL_RC)) {
}
1;
