diff --git a/apps/codecs/demac/libdemac/demac_iram.h b/apps/codecs/demac/libdemac/demac_iram.h index fb6965a35e..5dd02f812d 100644 --- a/apps/codecs/demac/libdemac/demac_iram.h +++ b/apps/codecs/demac/libdemac/demac_iram.h @@ -25,6 +25,7 @@ #ifndef _LIBDEMAC_IRAM_H #define _LIBDEMAC_IRAM_H +#ifdef ROCKBOX #include "config.h" /* On PP5002 code should go into IRAM. Otherwise put the insane @@ -39,4 +40,11 @@ #define IBSS_ATTR_DEMAC_INSANEBUF IBSS_ATTR #endif +#else + +#define IBSS_ATTR_DEMAC_INSANEBUF +#define ICODE_ATTR_DEMAC + +#endif /* !ROCKBOX */ + #endif /* _LIBDEMAC_IRAM_H */