summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-01-02 23:56:11 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-01-02 23:56:11 +0000
commit1d469590122767c86af7bb0503e7e62cc62c4f6c (patch)
treeebbdf2dc3c0ae72e3caaabc763ac54e13ba17f9b
parentbe9cf570a7bfdbd2897b0482c1d7bf859e9ed8b1 (diff)
downloadrockbox-1d469590122767c86af7bb0503e7e62cc62c4f6c.tar.gz
rockbox-1d469590122767c86af7bb0503e7e62cc62c4f6c.tar.bz2
rockbox-1d469590122767c86af7bb0503e7e62cc62c4f6c.zip
Make debug builds compile again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24150 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/skin_engine/wps_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c
index a0bf970e0d..7232848005 100644
--- a/apps/gui/skin_engine/wps_debug.c
+++ b/apps/gui/skin_engine/wps_debug.c
@@ -635,7 +635,9 @@ void print_debug_info(struct wps_data *data, enum wps_parse_error fail, int line
void debug_skin_usage(void)
{
+#if defined(SIMULATOR) || defined(__PCTOOL__)
if (wps_verbose_level > 1)
+#endif
DEBUGF("Skin buffer usage: %lu/%lu\n", (unsigned long)skin_buffer_usage(),
(unsigned long)(skin_buffer_usage() + skin_buffer_freespace()));
}