diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-20 22:38:09 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-20 22:38:09 +0000 |
commit | 8cd2bb7f34bd12fc1a6571ebc88d361a24d5a150 (patch) | |
tree | fb56e530e15671df75ba81f6f8aa9e25a6d40e61 /apps/plugin.c | |
parent | 712931ca6e6fdb30dbb97c36a5887fc8749db52c (diff) | |
download | rockbox-8cd2bb7f34bd12fc1a6571ebc88d361a24d5a150.tar.gz rockbox-8cd2bb7f34bd12fc1a6571ebc88d361a24d5a150.zip |
Threading functions aren't all available on HWCODEC, so don't try to build them on it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18560 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 b03ed3109a..aa24b327ca 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -607,13 +607,15 @@ static const struct plugin_api rockbox_api = { | |||
607 | #endif | 607 | #endif |
608 | 608 | ||
609 | thread_thaw, | 609 | thread_thaw, |
610 | |||
611 | #if (CONFIG_CODEC == SWCODEC) | ||
610 | semaphore_init, | 612 | semaphore_init, |
611 | semaphore_wait, | 613 | semaphore_wait, |
612 | semaphore_release, | 614 | semaphore_release, |
613 | event_init, | 615 | event_init, |
614 | event_wait, | 616 | event_wait, |
615 | event_set_state, | 617 | event_set_state, |
616 | 618 | #endif | |
617 | /* new stuff at the end, sort into place next time | 619 | /* new stuff at the end, sort into place next time |
618 | the API gets incompatible */ | 620 | the API gets incompatible */ |
619 | 621 | ||