提交 24f6ff86 编写于 作者: M Michael Tokarev

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: NMichael Tokarev <mjt@tls.msk.ru>
上级 576156ff
......@@ -3472,12 +3472,11 @@ int main(int argc, char **argv, char **envp)
case QEMU_OPTION_no_quit:
no_quit = 1;
break;
#ifdef CONFIG_SDL
case QEMU_OPTION_sdl:
#ifdef CONFIG_SDL
display_type = DT_SDL;
break;
#else
case QEMU_OPTION_sdl:
fprintf(stderr, "SDL support is disabled\n");
exit(1);
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册