Re: [Qemu-devel][Patch] Windows build broken

2007-12-16 Thread Paul Brook
> Typically, gcc provides a built-in function ffs Actually, not it doesn't. As with many other standard functions, gcc will sometimes optimize it, maybe expanding to inline code. However there's always the possibility of falling back to the standard C library implementation. Paul

Re: [Qemu-devel][Patch] Windows build broken

2007-12-15 Thread Stefan Weil
JonY schrieb: > > Ok, this patch works as intended. Thanks for the patch! > > Slightly off topic, but still on Windows builds broken. > > For some odd reason, dyngen-exec.h is always conflicting with > stdint.h(?!!) for me. Can somebody explain why the typedefs are in > dyngen-exec.h? > > Mingw doe

Re: [Qemu-devel][Patch] Windows build broken

2007-12-13 Thread JonY
Stefan Weil wrote: Here is a patch using WIN32_LEAN_AND_MEAN which tries not to break dsound (and vl.c). I could only test it using cross compilation from Linux, so please send comments. Patch description: * add WIN32_LEAN_AND_MEAN to all inclusions of windows.h * remove windows.h from vl.c (it

Re: [Qemu-devel][Patch] Windows build broken

2007-12-13 Thread Stefan Weil
Here is a patch using WIN32_LEAN_AND_MEAN which tries not to break dsound (and vl.c). I could only test it using cross compilation from Linux, so please send comments. Patch description: * add WIN32_LEAN_AND_MEAN to all inclusions of windows.h * remove windows.h from vl.c (it is already included o