require '_h2ph_pre.ph';

unless(defined(&_RASOPS_H_)) {
    eval 'sub _RASOPS_H_ () {1;}' unless defined(&_RASOPS_H_);
    if(defined(&SMALL_KERNEL)) {
	eval 'sub RASOPS_SMALL () {1;}' unless defined(&RASOPS_SMALL);
    }
    eval 'sub RI_FULLCLEAR () {0x1;}' unless defined(&RI_FULLCLEAR);
    eval 'sub RI_FORCEMONO () {0x2;}' unless defined(&RI_FORCEMONO);
    eval 'sub RI_BSWAP () {0x4;}' unless defined(&RI_BSWAP);
    eval 'sub RI_CURSOR () {0x8;}' unless defined(&RI_CURSOR);
    eval 'sub RI_CLEAR () {0x10;}' unless defined(&RI_CLEAR);
    eval 'sub RI_CENTER () {0x20;}' unless defined(&RI_CENTER);
    eval 'sub RI_CURSORCLIP () {0x40;}' unless defined(&RI_CURSORCLIP);
    eval 'sub RI_CFGDONE () {0x80;}' unless defined(&RI_CFGDONE);
    eval 'sub DELTA {
        local($p, $d, $cast) = @_;
	    eval q(( = (($p) + ($d))));
    }' unless defined(&DELTA);
}
1;
