diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2009-01-07 09:53:46 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2009-01-07 09:53:46 +0000 |
| commit | a36cdf5b37994a301d4fdeab123ee1569a34cf46 (patch) | |
| tree | 5794a1f13f93e3d7190572e07709aa1a11e9e892 /apps/plugin.c | |
| parent | f9329e4c9273f1b82aa5dbb36f243546ce55036d (diff) | |
| download | rockbox-a36cdf5b37994a301d4fdeab123ee1569a34cf46.zip rockbox-a36cdf5b37994a301d4fdeab123ee1569a34cf46.tar.gz rockbox-a36cdf5b37994a301d4fdeab123ee1569a34cf46.tar.bz2 rockbox-a36cdf5b37994a301d4fdeab123ee1569a34cf46.tar.xz | |
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/plugin.c')
| -rw-r--r-- | apps/plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 2a67610..66d614e 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -52,6 +52,12 @@ #endif #ifdef SIMULATOR +#define PREFIX(_x_) sim_ ## _x_ +#else +#define PREFIX +#endif + +#ifdef SIMULATOR static unsigned char pluginbuf[PLUGIN_BUFFER_SIZE]; void *sim_plugin_load(char *plugin, void **pd); void sim_plugin_close(void *pd); |