32bit wiadss from Win7
regenerate Makefile.in
Fix d2d1.h casting in macros

Reported by morous at users d sf d net
time.h: Restore POSIX guards around *_r functions.