summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/demac/libdemac/demac_iram.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/codecs/demac/libdemac/demac_iram.h b/apps/codecs/demac/libdemac/demac_iram.h
index fb6965a..5dd02f8 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 */