summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/rockmacros.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2009-01-07 09:53:46 +0000
committerBjörn Stenberg <bjorn@haxx.se>2009-01-07 09:53:46 +0000
commita36cdf5b37994a301d4fdeab123ee1569a34cf46 (patch)
tree5794a1f13f93e3d7190572e07709aa1a11e9e892 /apps/plugins/doom/rockmacros.h
parentf9329e4c9273f1b82aa5dbb36f243546ce55036d (diff)
Removed the sim_ prefix from the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19704 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/rockmacros.h')
-rw-r--r--apps/plugins/doom/rockmacros.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/apps/plugins/doom/rockmacros.h b/apps/plugins/doom/rockmacros.h
index 6e09e6e806..78574c8440 100644
--- a/apps/plugins/doom/rockmacros.h
+++ b/apps/plugins/doom/rockmacros.h
@@ -41,28 +41,12 @@ char *my_strtok( char * s, const char * delim );
#define vsnprintf(...) rb->vsnprintf(__VA_ARGS__)
#define read_line(a,b,c) rb->read_line((a),(b),(c))
-#ifdef SIMULATOR
-#undef open
-#undef close
-#undef lseek
-#undef filesize
-#undef read
-#undef write
-#define open(a,b) rb->sim_open((a),(b))
-#define close(a) rb->sim_close((a))
-#define lseek(a,b,c) rb->sim_lseek((a),(b),(c))
-#define filesize(a) rb->sim_filesize((a))
-#define read(a,b,c) rb->sim_read((a),(b),(c))
-#define write(a,b,c) rb->sim_write((a),(b),(c))
-#else /* !SIMULATOR */
#define open(a,b) my_open((a),(b))
#define close(a) my_close((a))
#define lseek(a,b,c) rb->lseek((a),(b),(c))
#define filesize(a) rb->filesize((a))
#define read(a,b,c) rb->read((a),(b),(c))
#define write(a,b,c) rb->write((a),(b),(c))
-#endif /* !SIMULATOR */
-
#define strtok(a,b) my_strtok((a),(b))
#define strcat(a,b) rb->strcat((a),(b))
#define memset(a,b,c) rb->memset((a),(b),(c))