diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-09-01 22:09:43 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-09-01 22:09:43 +0000 |
commit | c00fbc4d06dee2f075e8bb1671350c3079c992bf (patch) | |
tree | 487129015ad5b242083ed8271adbc97cc630c5b5 /apps/main.c | |
parent | a4264eb89a21a3c9cc765df76ce293cfd3e73a49 (diff) |
Android: Don't compile sim_tasks.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27973 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/main.c b/apps/main.c index 0c2f0751b3..5f2c9e5a58 100644 --- a/apps/main.c +++ b/apps/main.c @@ -121,11 +121,8 @@ #define MAIN_NORETURN_ATTR #endif -#if (CONFIG_PLATFORM & PLATFORM_HOSTED) -#include "sim_tasks.h" -#endif - #if (CONFIG_PLATFORM & PLATFORM_SDL) +#include "sim_tasks.h" #include "system-sdl.h" #define HAVE_ARGV_MAIN /* Don't use SDL_main on windows -> no more stdio redirection */ @@ -350,7 +347,9 @@ static void init(void) show_logo(); button_init(); backlight_init(); +#if (CONFIG_PLATFORM & PLATFORM_SDL) sim_tasks_init(); +#endif lang_init(core_language_builtin, language_strings, LANG_LAST_INDEX_IN_ARRAY); #ifdef DEBUG |