Eric Blake wrote: > Paolo Bonzini <bonzini <at> gnu.org> writes: > >> Here is the final patch I pushed for Windows compatibility of tests. It >> does not test much because the socket syscalls are not compatible >> enough, but it compiles at least (using the Debian mingw32 and wine >> packages). > > But it breaks on cygwin. > >> #ifdef HAVE_IO_H >> #include <io.h> >> +#define pipe(x) _pipe(x, 256, O_BINARY) >> #endif > > Cygwin also has <io.h>, but this redefinition of pipe breaks cygwin's > <unistd.h>. You need to further restrict this definition to native windows > environments.
Ok, will do so (s/HAVE_IO_H/__MSVCRT__). I pushed an update (without this change) to the mob branch. I will set up my own repo.or.cz repository soon so that I can develop normally. BTW, wine seems too buggy to support the native poll. :-( Paolo