summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/pegbox.c6
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)