From 876db6c2fcb6d84a9c02b5aa7fbd60dbc78548a5 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Fri, 21 Aug 2009 18:15:20 +0000 Subject: Fix/hack checkwps + add Onda VX747/VX777 targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22451 a1c6a512-1295-4272-9138-f99709370657 --- tools/checkwps/checkwps.h | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'tools/checkwps/checkwps.h') diff --git a/tools/checkwps/checkwps.h b/tools/checkwps/checkwps.h index 2ba8f5f59e..1032cca246 100644 --- a/tools/checkwps/checkwps.h +++ b/tools/checkwps/checkwps.h @@ -24,21 +24,17 @@ #include #include #include -#include - -/* subset of global_settings needed to build checkwps. */ -struct user_settings { - bool statusbar; - int bg_color; /* background color native format */ - int fg_color; /* foreground color native format */ -}; - -extern struct user_settings global_settings; #define FONT_SYSFIXED 0 #define FONT_UI 1 #define SYSFONT_HEIGHT 8 -#define MIN(x,y) ((x) > (y) ? (y) : (x)) +#ifndef MIN +#define MIN(a, b) (((a)<(b))?(a):(b)) +#endif + +#ifndef BIT_N +#define BIT_N(n) (1U << (n)) +#endif #endif -- cgit v1.2.3