From 3cca7e865082c8144a47687e3a2455fba5a927d5 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 14 May 2010 12:37:05 +0000 Subject: Include host system's header files and don't compile our c library replacements in the sim. This makes it possible to move the simulator code into the target tree (for Rockbox as an application). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26019 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 26d17a2..584c146 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -548,7 +548,9 @@ struct plugin_api { void* (*memset)(void *dst, int c, size_t length); void* (*memcpy)(void *out, const void *in, size_t n); void* (*memmove)(void *out, const void *in, size_t n); +#ifndef SIMULATOR const unsigned char *_rbctype_; +#endif int (*atoi)(const char *str); char *(*strchr)(const char *s, int c); char *(*strcat)(char *s1, const char *s2); -- cgit v1.1