diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/codecs.c | 2 | ||||
| -rw-r--r-- | apps/codecs.h | 2 | ||||
| -rw-r--r-- | apps/plugin.c | 2 | ||||
| -rw-r--r-- | apps/plugin.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs.c b/apps/codecs.c index 29a6644..9e77dd9 100644 --- a/apps/codecs.c +++ b/apps/codecs.c @@ -119,7 +119,7 @@ struct codec_api ci = { NULL, /* configure */ /* kernel/ system */ -#ifdef CPU_ARM +#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE __div0, #endif PREFIX(sleep), diff --git a/apps/codecs.h b/apps/codecs.h index 7e4fe94..97b33ec 100644 --- a/apps/codecs.h +++ b/apps/codecs.h @@ -156,7 +156,7 @@ struct codec_api { void (*configure)(int setting, intptr_t value); /* kernel/ system */ -#ifdef CPU_ARM +#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE void (*__div0)(void); #endif void (*sleep)(int ticks); diff --git a/apps/plugin.c b/apps/plugin.c index b3baea7..cc540cd 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -345,7 +345,7 @@ static const struct plugin_api rockbox_api = { dir_exists, /* kernel/ system */ -#ifdef CPU_ARM +#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE __div0, #endif PREFIX(sleep), diff --git a/apps/plugin.h b/apps/plugin.h index 5ee18d0..624b703 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -450,7 +450,7 @@ struct plugin_api { bool (*dir_exists)(const char *path); /* kernel/ system */ -#ifdef CPU_ARM +#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE void (*__div0)(void); #endif void (*sleep)(int ticks); |