From bebc8587cfa7896684278d824ed5b28b2e9f9df1 Mon Sep 17 00:00:00 2001 From: Dominik Wenger Date: Thu, 28 May 2009 16:42:32 +0000 Subject: pdbox: new patch from wincent balin. make m_memory.c work in rockbox. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21117 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pdbox/PDa/src/m_memory.c | 5 +++++ apps/plugins/pdbox/SOURCES | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/plugins/pdbox') diff --git a/apps/plugins/pdbox/PDa/src/m_memory.c b/apps/plugins/pdbox/PDa/src/m_memory.c index ef33d3c1d3..f9ee378f87 100644 --- a/apps/plugins/pdbox/PDa/src/m_memory.c +++ b/apps/plugins/pdbox/PDa/src/m_memory.c @@ -2,8 +2,13 @@ * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ +#ifdef ROCKBOX +#include "plugin.h" +#define memset rb->memset +#else /* ROCKBOX */ #include #include +#endif /* ROCKBOX */ #include "m_pd.h" #include "m_imp.h" diff --git a/apps/plugins/pdbox/SOURCES b/apps/plugins/pdbox/SOURCES index 70a50d1941..4d2284304c 100644 --- a/apps/plugins/pdbox/SOURCES +++ b/apps/plugins/pdbox/SOURCES @@ -35,9 +35,7 @@ PDa/src/m_class.c PDa/src/m_obj.c PDa/src/m_atom.c */ -/* PDa/src/m_memory.c -*/ /* PDa/src/m_binbuf.c Does not compile, file handling stuff */ /* -- cgit v1.2.3