Building 1.8.7 on Win32 using MinGW compiler (in msys shell)

Hi,

Version 1.8.6 builds straight out of the box for me, but not 1.8.7.

Firstly, there's a 'struct timezone' definition in src/H5win32defs.h that
needs to be removed (because that has already been defined in sys/time.h)
.... no big deal.

But then, later on, I get:

  CC vfd.o
vfd.c: In function 'test_windows':
vfd.c:1335:8: error: 'H5FD_WINDOWS' undeclared (first use in this function)
vfd.c:1335:8: note: each undeclared identifier is reported only once for
each function it appears in
make[1]: *** [vfd.o] Error 1
make[1]: Leaving directory `/c/comp/hdf5-1.8.7/test'
make: *** [all-recursive] Error 1

'H5FD_WINDOWS' can only be undeclared if 'src/H5FDwindows.h' did not get
included.
Intuitively, it seems rather unlikely that this is correct - but I'm unsure what needs to be done.

Any advice about this ? (I'll keep poking at it anyway.)

Cheers,
Rob