> > How about this one from Cygwin that's in the public domain: > > http://cygwin.com/cgi- > bin/cvsweb.cgi/src/winsup/mingw/mingwex/gettimeofday.c?rev=1.1&content- > type=text/x-cvsweb-markup&cvsroot=src > > Alex
Thanks, that worked with a few modifications. The headers were already included elsewhere and MSVC didn't like the __restrict__ and __attribute__ identifiers. Attached is a diff for misc.c that works for me in Visual Studio 2008. I did not add a prototype in misc.h, do we need one? Neil
gettimeofday.diff
Description: Binary data
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
