Try the attached patch... I don't like it, but it solves the problems for me. - Filip Maarten Boekhold wrote: > Hi, > > I'm trying to build qemu using mingw, and the build fails at: > > make[1]: Entering directory `/e/Maarten/src/qemu/ppc-softmmu' > gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. > -I/e/Maarten/src/qemu/target-ppc -I/e/Maarten/src/qemu -D_GNU_SOURCE > -c -o vl.o /e/Maarten/src/qemu/vl.c > In file included from E:/msys/1.0/mingw/include/windef.h:246, > from E:/msys/1.0/mingw/include/windows.h:48, > from e:/Maarten/src/qemu/vl.c:60: > E:/msys/1.0/mingw/include/winnt.h:97: parse error before numeric constant > > I've been trying to track how this case is different from when it > builds it from i386-softmmu (which succeeds), to no avail. Any > suggestions? > > This is a CVS checkout of the 7th... > > Maarten