diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-20 13:59:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-20 13:59:40 +0000 |
commit | 1cda8bc4339874da6ad78059320a1e3304b8cf34 (patch) | |
tree | b4ff18506a37ad045457bad29750597b6a28419b /apps/plugins/rockboy | |
parent | 137fb6cb9f0478303610443b95ae0a106f0a17d1 (diff) |
simulator build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8398 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r-- | apps/plugins/rockboy/rockmacros.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/rockmacros.h b/apps/plugins/rockboy/rockmacros.h index bc9a0e8014..2d33b968ea 100644 --- a/apps/plugins/rockboy/rockmacros.h +++ b/apps/plugins/rockboy/rockmacros.h @@ -63,7 +63,7 @@ void savestate(int fd); #undef open #define open(a,b) rb->sim_open((a),(b)) #undef close -#define close(a) rb->sim_close((a)) +#define close(a) rb->close((a)) #undef lseek #define lseek(a,b,c) rb->sim_lseek((a),(b),(c)) #else /* !SIMULATOR */ @@ -76,7 +76,6 @@ void savestate(int fd); #endif /* !SIMULATOR */ #define strcat(a,b) rb->strcat((a),(b)) -#define close(a) rb->close((a)) #define read(a,b,c) rb->read((a),(b),(c)) #define write(a,b,c) rb->write((a),(b),(c)) #define memset(a,b,c) rb->memset((a),(b),(c)) |