From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bicy9-0005NE-Vt for qemu-devel@nongnu.org; Thu, 08 Jul 2004 13:46:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bicy8-0005Mm-TB for qemu-devel@nongnu.org; Thu, 08 Jul 2004 13:46:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bicy8-0005Mc-Rf for qemu-devel@nongnu.org; Thu, 08 Jul 2004 13:46:00 -0400 Received: from [81.26.6.5] (helo=bartek.tu.kielce.pl) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Bicvd-0001zK-Ga for qemu-devel@nongnu.org; Thu, 08 Jul 2004 13:43:25 -0400 Received: from bartek.tu.kielce.pl (tomba@localhost [127.0.0.1]) by bartek.tu.kielce.pl (8.12.11/8.12.11/Debian-3) with ESMTP id i68HhDLP012293 for ; Thu, 8 Jul 2004 19:43:13 +0200 Received: (from tomba@localhost) by bartek.tu.kielce.pl (8.12.11/8.12.11/Debian-3) id i68HhDHH012291 for qemu-devel@nongnu.org; Thu, 8 Jul 2004 19:43:13 +0200 From: Tomasz Bħtor Date: Thu, 8 Jul 2004 19:43:13 +0200 Message-ID: <20040708174313.GA11859@bartek.tu.kielce.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] SDL/SDL.h breaks vl.c on MinGW 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 Hi. I don't know why it happens, but including SDL/SDL.h in vl.c (CVS snapshot qemu-snapshot-2004-07-07_23.tar.bz2) breaks QEMU on MinGW (it exits immediatelly with no output). Following little patch fixes it: diff -Nur vl-orig.c vl.c --- vl-orig.c Mon Jul 5 21:25:12 2004 +++ vl.c Thu Jul 8 17:22:27 2004 @@ -65,7 +65,6 @@ #endif =20 #ifdef CONFIG_SDL -#include #if defined(__linux__) /* SDL use the pthreads and they modify sigaction. We don't want that. */ t.=09 --=20 Tomasz B=B1tor e-mail: tomba@bartek.tu.kielce.pl ICQ: 101194886 ------ ---- -- - - - - - - - - - - - -- ---- ------ "Push first the red button and then the blue button. No, wait..." -- last words in a RPG game