summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-05-25 21:08:38 +0000
committerDave Chapman <dave@dchapman.com>2006-05-25 21:08:38 +0000
commitdb1cda87a664c00d26d2f7d63b78c11fe01035b6 (patch)
tree2a344042fa25b5a9c56aa64308521e44886f6fa5
parentdae08b346b180d9b4325e4c01ddd8ba103cb2de2 (diff)
downloadrockbox-db1cda87a664c00d26d2f7d63b78c11fe01035b6.tar.gz
rockbox-db1cda87a664c00d26d2f7d63b78c11fe01035b6.tar.bz2
rockbox-db1cda87a664c00d26d2f7d63b78c11fe01035b6.zip
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
-rw-r--r--apps/playback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 8a382c5a2f..cc0c8a936f 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -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);