mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
cocoa: cocoa_display_init() stub
One less #ifdef in vl.c. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
476db0814d
commit
e35ee7c1aa
2 changed files with 9 additions and 2 deletions
|
@ -442,7 +442,16 @@ static inline void sdl_display_init(DisplayState *ds, int full_screen,
|
|||
#endif
|
||||
|
||||
/* cocoa.m */
|
||||
#ifdef CONFIG_COCOA
|
||||
void cocoa_display_init(DisplayState *ds, int full_screen);
|
||||
#else
|
||||
static inline void cocoa_display_init(DisplayState *ds, int full_screen)
|
||||
{
|
||||
/* This must never be called if CONFIG_COCOA is disabled */
|
||||
error_report("Cocoa support is disabled");
|
||||
abort();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* vnc.c */
|
||||
void vnc_display_init(const char *id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue