1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 14:10:47 -08:00
emacs/nt/inc/sys
Eli Zaretskii 34b6df19a4 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)

Do not merge to master!
2016-10-06 18:08:31 +03:00
..
acl.h Support Posix ACL APIs on MS-Windows. 2012-12-17 21:14:34 +02:00
file.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ioctl.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
mman.h Use mmap(2) emulation for buffer text on MS-Windows. 2014-05-27 20:31:17 +03:00
param.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
socket.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
stat.h Fix compilation with MinGW runtime 3.22.2 and w32api 3.18.2 2016-10-06 18:08:31 +03:00
time.h Attempt to resolve gettimeofday compilation errors with MinGW64. 2013-06-03 20:15:44 +03:00
wait.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00