time: better autodetection on win32
authorMarko Kreen <markokr@gmail.com>
Thu, 5 May 2011 18:23:02 +0000 (21:23 +0300)
committerMarko Kreen <markokr@gmail.com>
Thu, 5 May 2011 18:23:02 +0000 (21:23 +0300)
commit84b8105578a282d34ff417022ba5cd52adba7996
tree9fb92ca9ab3c61fcad3899561133c53e0e1dd164
parente79df3cc9fed346596e52329a9b37e319863bd62
time: better autodetection on win32

Seems like the posix functions are slowly added to mingw/msvcrt
so we cannot blindly assume with #ifdef WIN32 whats there.

Add proper autodetection for gettimeofday(), localtime_r(), getrusage()

Remove double detection for recvmsg and sendmsg.
m4/usual.m4
usual/time.c
usual/time.h