diff options
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/lib/gcc-support.c | 2 | ||||
| -rw-r--r-- | apps/plugins/test_codec.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/gcc-support.c b/apps/plugins/lib/gcc-support.c index 4ea9cfd..09a08fa 100644 --- a/apps/plugins/lib/gcc-support.c +++ b/apps/plugins/lib/gcc-support.c @@ -22,7 +22,7 @@ ****************************************************************************/ #include "plugin.h" -#ifdef CPU_ARM +#if defined(CPU_ARM) && (CONFIG_PLATFORM & PLATFORM_NATIVE) void __attribute__((naked)) __div0(void) { asm volatile("bx %0" : : "r"(rb->__div0)); diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 0c2e694..0927413 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -615,7 +615,7 @@ static void init_ci(void) ci.semaphore_release = rb->semaphore_release; #endif -#ifdef CPU_ARM +#if defined(CPU_ARM) && (CONFIG_PLATFORM & PLATFORM_NATIVE) ci.__div0 = rb->__div0; #endif } |