require '_h2ph_pre.ph';

unless(defined(&__LINUX_COMPILER_H)) {
    eval 'sub __LINUX_COMPILER_H () {1;}' unless defined(&__LINUX_COMPILER_H);
    if((defined(&__GNUC__) ? &__GNUC__ : 0) == 2 && (defined(&__GNUC_MINOR__) ? &__GNUC_MINOR__ : 0) < 96) {
	eval 'sub __builtin_expect {
	    local($x, $expected_value) = @_;
    	    eval q(($x));
	}' unless defined(&__builtin_expect);
    }
    eval 'sub likely {
        local($x) = @_;
	    eval q( &__builtin_expect(($x),1));
    }' unless defined(&likely);
    eval 'sub unlikely {
        local($x) = @_;
	    eval q( &__builtin_expect(($x),0));
    }' unless defined(&unlikely);
}
1;
