From 33f5fdeadf248793456ce472707890e1f6368cbe Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 17 Jan 2014 11:14:00 +0100 Subject: rockblox: Fix compilation under recent mingw-w64-gcc. Change-Id: I703d967e9288e5c74556b54ad4f72ef2f6247083 --- apps/plugins/rockblox.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c index 025e3b4e25..c72d7be9c3 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 /* <> @@ -926,7 +926,7 @@ static void show_highscores (void) for (i = 0; ilcd_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 -- cgit v1.2.3