forked from len0rd/rockbox
Replace "#if (ROCKBOX_HAS_LOGF == 1)" with "#ifdef ROCKBOX_HAS_LOGF" - this is consistent with the rest of Rockbox and Mark Arigo reported that it caused an error in his gcc when trying to compile a logf-enabled sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9991 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dae08b346b
commit
db1cda87a6
1 changed files with 2 additions and 2 deletions
|
@ -2799,7 +2799,7 @@ void mpeg_id3_options(bool _v1first)
|
|||
v1first = _v1first;
|
||||
}
|
||||
|
||||
#if (ROCKBOX_HAS_LOGF == 1)
|
||||
#ifdef ROCKBOX_HAS_LOGF
|
||||
void test_buffer_event(struct mp3entry *id3, bool last_track)
|
||||
{
|
||||
(void)id3;
|
||||
|
@ -2837,7 +2837,7 @@ static void playback_init(void)
|
|||
pcm_rec_mux(0);
|
||||
#endif
|
||||
|
||||
#if (ROCKBOX_HAS_LOGF == 1)
|
||||
#ifdef ROCKBOX_HAS_LOGF
|
||||
audio_set_track_buffer_event(test_buffer_event);
|
||||
audio_set_track_unbuffer_event(test_unbuffer_event);
|
||||
audio_set_track_changed_event(test_track_changed_event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue