summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-17 11:14:00 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-17 11:14:00 +0100
commit33f5fdeadf248793456ce472707890e1f6368cbe (patch)
tree05635c2737dce7b30fcbc0255a40b47e8db3d9eb /apps/plugins
parent335d708c999a111c40e4795aeda94830e9ed7d9e (diff)
downloadrockbox-33f5fdeadf248793456ce472707890e1f6368cbe.zip
rockbox-33f5fdeadf248793456ce472707890e1f6368cbe.tar.gz
rockbox-33f5fdeadf248793456ce472707890e1f6368cbe.tar.bz2
rockbox-33f5fdeadf248793456ce472707890e1f6368cbe.tar.xz
rockblox: Fix compilation under recent mingw-w64-gcc.
Change-Id: I703d967e9288e5c74556b54ad4f72ef2f6247083
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/rockblox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c
index 025e3b4..c72d7be 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -546,7 +546,7 @@
#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 220)
/* no room for the space in the highscore list */
-#define _SPACE ""
+#define HIGHSCORE_SPACE ""
#define BLOCK_WIDTH 10
#define BLOCK_HEIGHT 10
@@ -708,8 +708,8 @@ extern const fb_data rockblox_background[];
#endif
-#ifndef _SPACE
-#define _SPACE " "
+#ifndef HIGHSCORE_SPACE
+#define HIGHSCORE_SPACE " "
#endif
/* <<Explanation on Rockblox shapes>>
@@ -926,7 +926,7 @@ static void show_highscores (void)
for (i = 0; i<NUM_SCORES; i++)
rb->lcd_putsxyf (HIGH_LABEL_X, HIGH_SCORE_Y + (10 * i),
- "%06d" _SPACE "L%1d", highscores[i].score, highscores[i].level);
+ "%06d" HIGHSCORE_SPACE "L%1d", highscores[i].score, highscores[i].level);
}
#endif