I managed to fix a number of Cygwin issues. It compiles on cygwin from
the CVS trunk, but I had some problems compiling on cygwin from the
tarball, not sure why. I've added most of the patches submitted. I have
some code for native interfaces for Windows and OpenSolaris, but not
ready yet for inclusion...