1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 06:00:50 -08:00
emacs/nt/inc
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
..
arpa Nuke arch-tags. 2011-01-15 15:16:57 -08:00
netinet Nuke arch-tags. 2011-01-15 15:16:57 -08:00
sys Fix compilation with MinGW runtime 3.22.2 and w32api 3.18.2 2016-10-06 18:08:31 +03:00
dirent.h Dirent functions and directory-files are converted and work. 2013-11-09 14:49:02 +02:00
grp.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
inttypes.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
langinfo.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
mingw_time.h Attempt to fix time_t related problems with MinGW 4.0 runtime. 2013-10-14 19:23:10 +03:00
ms-w32.h Fix compilation with MinGW runtime 3.22.2 and w32api 3.18.2 2016-10-06 18:08:31 +03:00
netdb.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
nl_types.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
pwd.h Fix warnings when compiling on MS-Windows with -std=gnu99. 2012-10-17 21:02:44 +02:00
stdalign.h MS-Windows followup for 2012-07-28T23:05:32Z!eggert@cs.ucla.edu. 2012-07-29 18:43:09 +03:00
stdbool.h Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu and 2011-01-31T08:15:13Z!eggert@cs.ucla.edu. 2011-01-31 21:36:08 +02:00
stdint.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
unistd.h Merge from trunk and resolve conflicts. 2013-03-28 20:13:59 +02:00