1
0
Fork 0
forked from len0rd/rockbox

Make the standalone demac program compile again

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19107 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2008-11-15 00:35:07 +00:00
parent dcb0e43148
commit 3e8a2bfa12

View file

@ -25,6 +25,7 @@
#ifndef _LIBDEMAC_IRAM_H #ifndef _LIBDEMAC_IRAM_H
#define _LIBDEMAC_IRAM_H #define _LIBDEMAC_IRAM_H
#ifdef ROCKBOX
#include "config.h" #include "config.h"
/* On PP5002 code should go into IRAM. Otherwise put the insane /* On PP5002 code should go into IRAM. Otherwise put the insane
@ -39,4 +40,11 @@
#define IBSS_ATTR_DEMAC_INSANEBUF IBSS_ATTR #define IBSS_ATTR_DEMAC_INSANEBUF IBSS_ATTR
#endif #endif
#else
#define IBSS_ATTR_DEMAC_INSANEBUF
#define ICODE_ATTR_DEMAC
#endif /* !ROCKBOX */
#endif /* _LIBDEMAC_IRAM_H */ #endif /* _LIBDEMAC_IRAM_H */