summaryrefslogtreecommitdiff
path: root/apps/codecs.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs.h')
-rw-r--r--apps/codecs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index 27c9cab..c3dbc4a 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -254,7 +254,7 @@ extern unsigned char codecbuf[];
extern size_t codec_size;
#ifdef CODEC
-#ifndef SIMULATOR
+#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
/* plugin_* is correct, codecs use the plugin linker script */
extern unsigned char plugin_start_addr[];
extern unsigned char plugin_end_addr[];