From a36cdf5b37994a301d4fdeab123ee1569a34cf46 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Wed, 7 Jan 2009 09:53:46 +0000 Subject: Removed the sim_ prefix from the plugin api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19704 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockboy/rockmacros.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'apps/plugins/rockboy/rockmacros.h') diff --git a/apps/plugins/rockboy/rockmacros.h b/apps/plugins/rockboy/rockmacros.h index 179de2313f..34e8d0cd3f 100644 --- a/apps/plugins/rockboy/rockmacros.h +++ b/apps/plugins/rockboy/rockmacros.h @@ -60,25 +60,11 @@ void dynamic_recompile (struct dynarec_block *newblock); #define isalpha(c) (((c) >= 'a' && (c) <= 'z') || ((c) >= 'A' && ((c) <= 'Z'))) #define isalnum(c) (isdigit(c) || (isalpha(c))) -#ifdef SIMULATOR -#undef open -#define open(a,b) rb->sim_open((a),(b)) -#undef lseek -#define lseek(a,b,c) rb->sim_lseek((a),(b),(c)) -#undef close -#define close(a) rb->sim_close((a)) -#undef read -#define read(a,b,c) rb->sim_read((a),(b),(c)) -#undef write -#define write(a,b,c) rb->sim_write((a),(b),(c)) -#else /* !SIMULATOR */ #define open(a,b) rb->open((a),(b)) #define lseek(a,b,c) rb->lseek((a),(b),(c)) #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)) -#endif /* !SIMULATOR */ - #define strcat(a,b) rb->strcat((a),(b)) #define memset(a,b,c) rb->memset((a),(b),(c)) #define strcpy(a,b) rb->strcpy((a),(b)) -- cgit v1.2.3