summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/rockmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/rockmacros.h')
-rw-r--r--apps/plugins/rockboy/rockmacros.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/rockmacros.h b/apps/plugins/rockboy/rockmacros.h
index 03a6810a55..e246086f05 100644
--- a/apps/plugins/rockboy/rockmacros.h
+++ b/apps/plugins/rockboy/rockmacros.h
@@ -17,7 +17,7 @@
17 * 17 *
18 ****************************************************************************/ 18 ****************************************************************************/
19 19
20#include <plugin.h> 20#include "plugin.h"
21 21
22#include "autoconf.h" 22#include "autoconf.h"
23 23
@@ -51,6 +51,16 @@ void savestate(int fd);
51#define isalpha(c) (((c) >= 'a' && (c) <= 'z') || ((c) >= 'A' && ((c) <= 'Z'))) 51#define isalpha(c) (((c) >= 'a' && (c) <= 'z') || ((c) >= 'A' && ((c) <= 'Z')))
52#define isalnum(c) (isdigit(c) || (isalpha(c))) 52#define isalnum(c) (isdigit(c) || (isalpha(c)))
53 53
54/* FIXME: This is a q&d fix for these #defines not being available from
55 * rockbox' lcd.h because rockboy has its own lcd.h. Renaming the file and
56 * adapting the other files produced weird errors I couldn't figure out
57 * -- amiconn 20050624 -- */
58#define DRMODE_COMPLEMENT 0
59#define DRMODE_BG 1
60#define DRMODE_FG 2
61#define DRMODE_SOLID 3
62#define DRMODE_INVERSEVID 4 /* used as bit modifier for basic modes */
63
54#ifdef SIMULATOR 64#ifdef SIMULATOR
55#undef opendir 65#undef opendir
56#define opendir(a) rb->sim_opendir((a)) 66#define opendir(a) rb->sim_opendir((a))