From a36cdf5b37994a301d4fdeab123ee1569a34cf46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= 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/plugin.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/plugin.c') 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); -- cgit v1.1