From: Kevin O'Connor Date: Mon, 14 Apr 2014 14:46:34 +0000 (-0400) Subject: vgabios: Define PlatformRunningOn to make compile happy. X-Git-Tag: rel-1.7.5-rc1~9 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fe2cbf6d606e138055b00b0aac6162503a5fb38d;p=seabios.git vgabios: Define PlatformRunningOn to make compile happy. With CONFIG_COREBOOT=y, CONFIG_QEMU_HARDWARE=y, CONFIG_VGA_COREBOOT=y, CONFIG_DEBUG_IO=y the compile would break because this variable was missing. Signed-off-by: Kevin O'Connor --- diff --git a/vgasrc/vgainit.c b/vgasrc/vgainit.c index 6d9a224..9d6dd1e 100644 --- a/vgasrc/vgainit.c +++ b/vgasrc/vgainit.c @@ -32,6 +32,9 @@ struct VideoSavePointer_s video_save_pointer_table VAR16; struct VideoParam_s video_param_table[29] VAR16; +// Type of emulator platform - for dprintf with certain compile options. +int PlatformRunningOn VAR16; + /**************************************************************** * PCI Data