summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-11-15 00:35:07 +0000
committerDave Chapman <dave@dchapman.com>2008-11-15 00:35:07 +0000
commit3e8a2bfa12e3a0ce461b130cfc7e3e0ed8f13ac9 (patch)
tree428b0012bd83d74ba7256596574ec7e781a0819d /apps/codecs
parentdcb0e43148c2900db6ef05cacd7d8f313a55dbce (diff)
Make the standalone demac program compile again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19107 a1c6a512-1295-4272-9138-f99709370657
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 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 */