mirror of https://github.com/schoebel/mars
brick_say: use mars_rename at MARS_HAS_PREPATCH_V2
This commit is contained in:
parent
31bb5cb182
commit
f21c58c480
|
@ -768,7 +768,9 @@ void _rollover_channel(struct say_channel *ch)
|
|||
|
||||
oldfs = get_fs();
|
||||
set_fs(get_ds());
|
||||
#ifdef MARS_HAS_PREPATCH
|
||||
#ifdef MARS_HAS_PREPATCH_V2
|
||||
mars_rename(old, new);
|
||||
#elif defined(MARS_HAS_PREPATCH)
|
||||
sys_rename(old, new);
|
||||
#else
|
||||
_compat_rename(old, new);
|
||||
|
|
Loading…
Reference in New Issue