diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-10-06 18:11:43 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-10-06 18:11:43 +0300 |
commit | d48369db9c97b6f2accf702e5bbe0bda11cb92a1 (patch) | |
tree | 73975d4d08fc4da05e2bbd2059467eb85909e0db /lisp/emacs-lisp/crm.el | |
parent | 6e6c08815347a78008211613c9ddfa0acd7f0ef8 (diff) | |
download | emacs-d48369db9c97b6f2accf702e5bbe0bda11cb92a1.tar.gz emacs-d48369db9c97b6f2accf702e5bbe0bda11cb92a1.tar.bz2 emacs-d48369db9c97b6f2accf702e5bbe0bda11cb92a1.zip |
Fix compilation with MinGW runtime 3.22.2 and w32api 3.18.2
* nt/inc/ms-w32.h (_WIN32_WINNT) [!MINGW_W64]: Undefine before
defining to avoid redefinition warnings.
* nt/inc/sys/stat.h (_SYS_STAT_H, _INC_STAT_H): Define, to avoid
inclusion of sys/stat.h from the system headers, which could then
lead to compilation errors due to redefinition of 'struct stat'
etc. This is needed because latest versions of MinGW runtime
include sys/stat.h from wchar.h.
* src/image.c (__MINGW_MAJOR_VERSION) [WINDOWSNT]: Temporarily
redefine to 4 to avoid conflict between 2 definitions of
MemoryBarrier. (Bug#24613)
Diffstat (limited to 'lisp/emacs-lisp/crm.el')
0 files changed, 0 insertions, 0 deletions