MS-Windows follow-up for recent TZ-related changes
commit70096743d5bed2c4c0221da32ebf824ad6a262c5
authorEli Zaretskii <eliz@gnu.org>
Mon, 27 Jul 2015 12:16:06 +0000 (27 15:16 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 27 Jul 2015 12:16:06 +0000 (27 15:16 +0300)
tree993be5217857a47bffae2be1202f5fb7df7860b6
parent075f8d9626dca1e14ca1772d25f477e13045adf4
MS-Windows follow-up for recent TZ-related changes

* nt/mingw-cfg.site (ac_cv_header_pthread_h)
(gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
picking up 'struct timespec' from pthread.h, if it is installed on
the user's system.  We want either the definitions from MinGW
system headers, if available, or the Gnulib replacements if not.

* nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
lib/time.h.

* lib/time.in.h: Don't let __need_* symbols affect what happens on
MinGW.  These symbols are defined by MinGW system headers, but we
don't want that to affect whether Gnulib portions of the header
are or aren't used.
lib/time.in.h
nt/inc/ms-w32.h
nt/mingw-cfg.site