Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQ2GK-000720-GF for qemu-devel@nongnu.org; Thu, 22 Jan 2009 11:18:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQ2GK-00071i-1X for qemu-devel@nongnu.org; Thu, 22 Jan 2009 11:18:36 -0500 Received: from [199.232.76.173] (port=51356 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQ2GJ-00071f-Vm for qemu-devel@nongnu.org; Thu, 22 Jan 2009 11:18:35 -0500 Received: from savannah.gnu.org ([199.232.41.3]:53589 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQ2GJ-0007bc-Oe for qemu-devel@nongnu.org; Thu, 22 Jan 2009 11:18:35 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LQ2GJ-0001wk-2I for qemu-devel@nongnu.org; Thu, 22 Jan 2009 16:18:35 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LQ2GI-0001we-HX for qemu-devel@nongnu.org; Thu, 22 Jan 2009 16:18:34 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Thu, 22 Jan 2009 16:18:34 +0000 Subject: [Qemu-devel] [6393] Fix build with --disable-sdl Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 6393 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6393 Author: aliguori Date: 2009-01-22 16:18:33 +0000 (Thu, 22 Jan 2009) Log Message: ----------- Fix build with --disable-sdl Signed-off-by: Anthony Liguori Modified Paths: -------------- trunk/vl.c Modified: trunk/vl.c =================================================================== --- trunk/vl.c 2009-01-21 21:46:20 UTC (rev 6392) +++ trunk/vl.c 2009-01-22 16:18:33 UTC (rev 6393) @@ -5589,10 +5589,11 @@ if (vnc_display_open(ds, vnc_display) < 0) exit(1); } +#if defined(CONFIG_SDL) if (sdl || !vnc_display) -#if defined(CONFIG_SDL) sdl_display_init(ds, full_screen, no_frame); #elif defined(CONFIG_COCOA) + if (sdl || !vnc_display) cocoa_display_init(ds, full_screen); #endif }