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) | |
download | rockbox-71d73fd470e339adff65aff0db6a44d1d6418b31.tar.gz rockbox-71d73fd470e339adff65aff0db6a44d1d6418b31.zip |
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 @@ | |||
131 | #endif | 131 | #endif |
132 | 132 | ||
133 | #if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) | 133 | #if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) |
134 | #ifdef SIMULATOR | ||
134 | #include "sim_tasks.h" | 135 | #include "sim_tasks.h" |
136 | #endif | ||
135 | #include "system-sdl.h" | 137 | #include "system-sdl.h" |
136 | #define HAVE_ARGV_MAIN | 138 | #define HAVE_ARGV_MAIN |
137 | /* Don't use SDL_main on windows -> no more stdio redirection */ | 139 | /* Don't use SDL_main on windows -> no more stdio redirection */ |
@@ -360,7 +362,7 @@ static void init(void) | |||
360 | button_init(); | 362 | button_init(); |
361 | powermgmt_init(); | 363 | powermgmt_init(); |
362 | backlight_init(); | 364 | backlight_init(); |
363 | #if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) | 365 | #ifdef SIMULATOR |
364 | sim_tasks_init(); | 366 | sim_tasks_init(); |
365 | #endif | 367 | #endif |
366 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) | 368 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) |