From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CttLK-0006mF-BY for qemu-devel@nongnu.org; Wed, 26 Jan 2005 15:00:46 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CttL9-0006fg-RX for qemu-devel@nongnu.org; Wed, 26 Jan 2005 15:00:35 -0500 Received: from [129.104.30.34] (helo=mx1.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ctt7S-0003A6-2g for qemu-devel@nongnu.org; Wed, 26 Jan 2005 14:46:27 -0500 Message-ID: <41F7F3C3.9080401@bellard.org> Date: Wed, 26 Jan 2005 20:47:15 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Fix OS X SDL breakage References: <89534439-6D8E-11D9-A061-000A958E35DC@axiros.com> In-Reply-To: <89534439-6D8E-11D9-A061-000A958E35DC@axiros.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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, de@axiros.com Can you confirm that QEMU for OS X works with this include ? IMHO it was added to add the '#define main SDL_main' define. Fabrice. Daniel Egger wrote: > Hija, > > On OS X vl.c explicitly includes which is wrong for two > reasons: > a) the file does compile without the include > b) the path is supposedly incorrect since the include path > is (should) be set by `sdl-config --cflags` which already > includes the path "SDL". So this will only work in case > someone tries to be clever by copying the SDL headers into > a directory SDL in a standard include directory and breaks > e.g. on fink where this is not the case. > > Attached patch fixes this by removing the seemingly unneeded > include. > > > > Servus, > Daniel > > > ------------------------------------------------------------------------ > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel