summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Scarratt <mmmm@rockbox.org>2006-09-12 19:11:51 +0000
committerMartin Scarratt <mmmm@rockbox.org>2006-09-12 19:11:51 +0000
commit98f78870f8d25cf235b60ec8ad7960704839e223 (patch)
treec9852cf2a211f9bf4e15405a6fcfb03a39d179f7
parentd7fa569df60026a3f28173dafcdffbfaa99ed0fe (diff)
downloadrockbox-98f78870f8d25cf235b60ec8ad7960704839e223.tar.gz
rockbox-98f78870f8d25cf235b60ec8ad7960704839e223.tar.bz2
rockbox-98f78870f8d25cf235b60ec8ad7960704839e223.zip
fix some sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10936 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/statusbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c
index 08c02fa874..6070c77cb3 100644
--- a/apps/gui/statusbar.c
+++ b/apps/gui/statusbar.c
@@ -602,7 +602,7 @@ void gui_statusbar_time(struct screen * display, int hour, int minute)
#ifdef HAVE_RECORDING
void gui_statusbar_icon_recording_info(struct screen * display)
{
-#if (CONFIG_CODEC != SWCODEC) || defined(SIMULATOR)
+#if (CONFIG_CODEC != SWCODEC) || (defined(SIMULATOR) && defined(HAVE_SPDIF_IN))
char buffer[4];
#endif
#if CONFIG_CODEC != SWCODEC