diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-12-06 22:26:31 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-12-06 22:26:31 +0000 |
commit | 2c2416094f426972c9e2e96d25058311bbe82f97 (patch) | |
tree | 449b4e12e01c3c5c4afa2ae6a8cd396df82b5a38 /firmware/include/dir.h | |
parent | c35b43b0f54bd607d38908544446caaa02f148a3 (diff) |
Get rid of get_user_file_path and do the path handling in wrappers for open() and friends.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28752 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/dir.h')
-rw-r--r-- | firmware/include/dir.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/firmware/include/dir.h b/firmware/include/dir.h index 29dcb65961..3a582c3865 100644 --- a/firmware/include/dir.h +++ b/firmware/include/dir.h @@ -49,7 +49,6 @@ #define ATTR_ARCHIVE 0x20 #define ATTR_VOLUME 0x40 /* this is a volume, not a real directory */ -#if (CONFIG_PLATFORM & (PLATFORM_NATIVE|PLATFORM_SDL)) #ifdef HAVE_DIRCACHE # include "dircache.h" # define DIR DIR_CACHED @@ -61,7 +60,7 @@ # define mkdir mkdir_cached # define rmdir rmdir_cached #else -#include "dir_uncached.h" +# include "dir_uncached.h" # define DIR DIR_UNCACHED # define dirent dirent_uncached # define opendir opendir_uncached @@ -71,9 +70,5 @@ # define mkdir mkdir_uncached # define rmdir rmdir_uncached #endif -#else -#include "dir-target.h" -#include "dir_uncached.h" -#endif #endif |