mirror of https://github.com/xemu-project/xemu.git
vl: reformat SDL ifdeffery a bit
This reformats #ifdef..#endif and case statement a bit, to make it a bit shorter and matching other cases like that (no code changes). Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
576156ffed
commit
24f6ff863b
3
vl.c
3
vl.c
|
@ -3472,12 +3472,11 @@ int main(int argc, char **argv, char **envp)
|
||||||
case QEMU_OPTION_no_quit:
|
case QEMU_OPTION_no_quit:
|
||||||
no_quit = 1;
|
no_quit = 1;
|
||||||
break;
|
break;
|
||||||
#ifdef CONFIG_SDL
|
|
||||||
case QEMU_OPTION_sdl:
|
case QEMU_OPTION_sdl:
|
||||||
|
#ifdef CONFIG_SDL
|
||||||
display_type = DT_SDL;
|
display_type = DT_SDL;
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
case QEMU_OPTION_sdl:
|
|
||||||
fprintf(stderr, "SDL support is disabled\n");
|
fprintf(stderr, "SDL support is disabled\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue