From 73e726243532034bc42e235ef5373913c44957b1 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 15 Nov 2008 00:35:07 +0000 Subject: [PATCH] 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(+) diff --git a/apps/codecs/demac/libdemac/demac_iram.h b/apps/codecs/demac/libdemac/demac_iram.h index fb6965a35..5dd02f812 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 */ -- 2.11.4.GIT