diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-11-17 19:52:59 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-11-17 19:52:59 +0000 |
commit | 71d73fd470e339adff65aff0db6a44d1d6418b31 (patch) | |
tree | 74f8d82b2eb72dd229c33b925b37976327901aaf /apps/main.c | |
parent | 7e211ff9d14aa732d1f54271f8a46ffc2e1b6342 (diff) |
Remove sim_tasks from the sdl application build.
This unfortunately removes the screendump feature, but usually there are better desktop apps for that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31011 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index 9d83c62965..50da787b17 100644 --- a/apps/main.c +++ b/apps/main.c @@ -131,7 +131,9 @@ #endif #if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) +#ifdef SIMULATOR #include "sim_tasks.h" +#endif #include "system-sdl.h" #define HAVE_ARGV_MAIN /* Don't use SDL_main on windows -> no more stdio redirection */ @@ -360,7 +362,7 @@ static void init(void) button_init(); powermgmt_init(); backlight_init(); -#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) +#ifdef SIMULATOR sim_tasks_init(); #endif #if (CONFIG_PLATFORM & PLATFORM_ANDROID) |