From ff40e4cc6a0a66e0eecaceae784203298c8c408d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 30 May 2005 13:43:15 +0000 Subject: [PATCH] avoid compilation alltogether if logf is not enabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6539 a1c6a512-1295-4272-9138-f99709370657 --- apps/SOURCES | 2 ++ firmware/SOURCES | 2 ++ 2 files changed, 4 insertions(+) diff --git a/apps/SOURCES b/apps/SOURCES index 8bf0ed37db..4d2eebaee9 100644 --- a/apps/SOURCES +++ b/apps/SOURCES @@ -1,4 +1,6 @@ +#ifdef ROCKBOX_HAS_LOGF logfdisp.c +#endif alarm_menu.c bookmark.c credits.c diff --git a/firmware/SOURCES b/firmware/SOURCES index 0ea55b382f..542081b7ca 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -1,4 +1,6 @@ +#ifdef ROCKBOX_HAS_LOGF logf.c +#endif #ifndef SIMULATOR backlight.c #endif