summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--apps/plugin.c2
1 files changed, 1 insertions, 1 deletions
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),