This should fix dircache being disabled by my last commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13952 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a4189fccf3
commit
5633dc6ce3
1 changed files with 4 additions and 1 deletions
|
@ -20,6 +20,8 @@
|
|||
#ifndef _DIR_H_
|
||||
#define _DIR_H_
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_DIRCACHE
|
||||
# include "dircache.h"
|
||||
# define DIR DIR_CACHED
|
||||
|
@ -32,9 +34,10 @@
|
|||
# define rmdir rmdir_cached
|
||||
#else
|
||||
#include "dir_uncached.h"
|
||||
#warning no dircache
|
||||
# define DIR DIR_UNCACHED
|
||||
# define dirent dirent_uncached
|
||||
# define opendir opendir_uncached
|
||||
//# define opendir opendir_uncached
|
||||
# define closedir closedir_uncached
|
||||
# define readdir readdir_uncached
|
||||
# define closedir closedir_uncached
|
||||
|
|
Loading…
Reference in a new issue