From 3e8a2bfa12e3a0ce461b130cfc7e3e0ed8f13ac9 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 15 Nov 2008 00:35:07 +0000 Subject: Make the standalone demac program compile again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19107 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/demac/libdemac/demac_iram.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/codecs') 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 */ -- cgit v1.2.3