From 6e9e6a7571275f1942630e0383d3fdf912178c8d Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sun, 27 Feb 2011 23:42:37 +0000 Subject: RaaA: Add initial Pandora support More information: www.openpandora.org Possible things to implement: - Special button mappings - Battery monitoring - ALSA audio backend - Automate creation of "pnd" (=binary) file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29451 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/dir_uncached.h | 2 +- firmware/include/file.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/include') diff --git a/firmware/include/dir_uncached.h b/firmware/include/dir_uncached.h index 19bed9af5d..d9a29fbada 100644 --- a/firmware/include/dir_uncached.h +++ b/firmware/include/dir_uncached.h @@ -33,7 +33,7 @@ struct dirinfo { #include #include "file.h" -#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO)) +#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) # define dirent_uncached sim_dirent # define DIR_UNCACHED SIM_DIR # define opendir_uncached sim_opendir diff --git a/firmware/include/file.h b/firmware/include/file.h index 69ed394828..48354505f5 100644 --- a/firmware/include/file.h +++ b/firmware/include/file.h @@ -46,7 +46,7 @@ extern int app_open(const char *name, int o, ...); extern int app_creat(const char *name, mode_t mode); extern int app_remove(const char* pathname); extern int app_rename(const char* path, const char* newname); -# if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO)) +# if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) # define filesize(x) sim_filesize(x) # define fsync(x) sim_fsync(x) # define ftruncate(x,y) sim_ftruncate(x,y) -- cgit v1.2.3