Fix incompatibilities between MinGW.org and MinGW64 headers
authorEli Zaretskii <eliz@gnu.org>
Mon, 25 Mar 2013 13:48:37 +0000 (15:48 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 25 Mar 2013 13:48:37 +0000 (15:48 +0200)
commit553fabe73ac34fa9f24daa48201923af04da7d88
tree3312d7746fd2871c84ccfe09ae25d3b28cf2f0fe
parentb234d92c0695c4f500a4a14496008f377de76f3e
Fix incompatibilities between MinGW.org and MinGW64 headers

Problems were reported by ×ƒscar Fuentes in

  http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.

 nt/inc/ms-w32.h (struct timespec): Don't define if
 _TIMESPEC_DEFINED is already defined.
 (sigset_t) [!_POSIX]: Typedef for MinGW64.
 (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
 including the first system header, to avoid redefinition if some
 system header defines a default value.
 nt/inc/sys/time.h (struct itimerval): Don't define if
 _TIMESPEC_DEFINED is already defined.
nt/ChangeLog
nt/inc/ms-w32.h
nt/inc/sys/time.h