From 066f0112f7e565a688f52a3984ec3a32d937fe12 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Fri, 21 Nov 2008 15:48:30 +0000 Subject: Added dummy numbers to avoid #error during dependency generation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19173 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pegbox.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/plugins/pegbox.c') diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c index 643e793fdc..b6221448fb 100644 --- a/apps/plugins/pegbox.c +++ b/apps/plugins/pegbox.c @@ -334,8 +334,14 @@ PLUGIN_HEADER /* get several sizes from the bitmaps */ +#ifdef BMPWIDTH_pegbox_pieces #define PIECE_WIDTH BMPWIDTH_pegbox_pieces #define PIECE_HEIGHT (BMPHEIGHT_pegbox_pieces/7) +#else +/* dummy numbers to avoid #error in dependency generation */ +#define PIECE_WIDTH 50 +#define PIECE_HEIGHT 10 +#endif #define BOARD_WIDTH (12*PIECE_WIDTH) #define BOARD_HEIGHT (8*PIECE_HEIGHT) -- cgit v1.2.3