add missing macro RCIOERR in wr project