1
0
Fork 0
forked from len0rd/rockbox

Oops. Fix red.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15046 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2007-10-09 15:37:43 +00:00
parent ef9abe4385
commit b8eb2a89ad
2 changed files with 2 additions and 2 deletions

View file

@ -295,7 +295,7 @@ struct plugin_api {
/* file */
int (*PREFIX(open))(const char* pathname, int flags);
int (*close)(int fd);
int (*PREFIX(close))(int fd);
ssize_t (*PREFIX(read))(int fd, void* buf, size_t count);
off_t (*PREFIX(lseek))(int fd, off_t offset, int whence);
int (*PREFIX(creat))(const char *pathname);

View file

@ -75,7 +75,7 @@ void dynamic_recompile (struct dynarec_block *newblock);
#undef lseek
#define lseek(a,b,c) rb->sim_lseek((a),(b),(c))
#undef close
#define close(a) rb->close((a))
#define close(a) rb->sim_close((a))
#undef read
#define read(a,b,c) rb->sim_read((a),(b),(c))
#undef write