diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2008-11-21 15:48:30 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2008-11-21 15:48:30 +0000 |
| commit | 066f0112f7e565a688f52a3984ec3a32d937fe12 (patch) | |
| tree | e5f11f71b320b2ab50b63a646684433278c99fbf /apps/plugins | |
| parent | 7f00ad0a52ce321d2f8110944167cd3c2bcb7b81 (diff) | |
| download | rockbox-066f0112f7e565a688f52a3984ec3a32d937fe12.zip rockbox-066f0112f7e565a688f52a3984ec3a32d937fe12.tar.gz rockbox-066f0112f7e565a688f52a3984ec3a32d937fe12.tar.bz2 rockbox-066f0112f7e565a688f52a3984ec3a32d937fe12.tar.xz | |
Added dummy numbers to avoid #error during dependency generation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19173 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/pegbox.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c index 643e793..b622144 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) |