diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-09-23 09:59:06 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-09-23 09:59:06 +0000 |
commit | 468edbbc7c1ea4b5de0036a732fac4ef0bee23ba (patch) | |
tree | bd7e9cb1206dd5ff207e6e228d969fbd976c9317 /apps/plugin.c | |
parent | 2041fed03aad460e73dcab5510ee83d1ba3775cd (diff) | |
download | rockbox-468edbbc7c1ea4b5de0036a732fac4ef0bee23ba.tar.gz rockbox-468edbbc7c1ea4b5de0036a732fac4ef0bee23ba.zip |
Use the correct #ifdefs for the added kernel objects.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18575 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 = { | |||
609 | 609 | ||
610 | thread_thaw, | 610 | thread_thaw, |
611 | 611 | ||
612 | #if (CONFIG_CODEC == SWCODEC) | 612 | #ifdef HAVE_SEMAPHORE_OBJECTS |
613 | semaphore_init, | 613 | semaphore_init, |
614 | semaphore_wait, | 614 | semaphore_wait, |
615 | semaphore_release, | 615 | semaphore_release, |
616 | #endif | ||
617 | #ifdef HAVE_EVENT_OBJECTS | ||
616 | event_init, | 618 | event_init, |
617 | event_wait, | 619 | event_wait, |
618 | event_set_state, | 620 | event_set_state, |