From 468edbbc7c1ea4b5de0036a732fac4ef0bee23ba Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 23 Sep 2008 09:59:06 +0000 Subject: Use the correct #ifdefs for the added kernel objects. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18575 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 6ef8623eea..4ba1396085 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -609,10 +609,12 @@ static const struct plugin_api rockbox_api = { thread_thaw, -#if (CONFIG_CODEC == SWCODEC) +#ifdef HAVE_SEMAPHORE_OBJECTS semaphore_init, semaphore_wait, semaphore_release, +#endif +#ifdef HAVE_EVENT_OBJECTS event_init, event_wait, event_set_state, -- cgit v1.2.3