diff options
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) |