qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix OS X SDL breakage


From: Laurent Amon
Subject: Re: [Qemu-devel] [PATCH] Fix OS X SDL breakage
Date: Wed, 26 Jan 2005 21:58:31 +0100

I did not use fink for SDL but did a default install from sources. My SDL includes are in /usr/local/include/SDL, so I need the SDL/SDL.h lines. Removing them will break the default source install.

Lga.

On 26 janv. 05, at 20:47, Fabrice Bellard wrote:

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 <SDL/SDL.h> 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
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel



_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel







reply via email to

[Prev in Thread] Current Thread [Next in Thread]