require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_RF__RF_EVENODD_DAGFUNCS_H_)) {
    eval 'sub _RF__RF_EVENODD_DAGFUNCS_H_ () {1;}' unless defined(&_RF__RF_EVENODD_DAGFUNCS_H_);
    eval 'sub rf_EUCol {
        my($_layoutPtr_,$_addr_) = @_;
	    eval q((($_addr_) % (($_layoutPtr_)-> &dataSectorsPerStripe)) / (($_layoutPtr_)-> &sectorsPerStripeUnit));
    }' unless defined(&rf_EUCol);
    eval 'sub rf_EO_Mod {
        my($_int1_,$_int2_) = @_;
	    eval q(((($_int1_) < 0) ? ((($_int1_) + ($_int2_)) % ($_int2_)) : (($_int1_) % ($_int2_))));
    }' unless defined(&rf_EO_Mod);
    eval 'sub rf_OffsetOfNextEUBoundary {
        my($_offset_, $sec_per_eu) = @_;
	    eval q((($_offset_) / ($sec_per_eu) + 1) * ($sec_per_eu));
    }' unless defined(&rf_OffsetOfNextEUBoundary);
    eval 'sub RF_EO_MATRIX_DIM () {17;}' unless defined(&RF_EO_MATRIX_DIM);
}
1;
