gcc/libgfortran/intrinsics
LIU Hao 902c755930 Always define WIN32_LEAN_AND_MEAN before <windows.h>
Recently, mingw-w64 has got updated <msxml.h> from Wine which is included
indirectly by <windows.h> if `WIN32_LEAN_AND_MEAN` is not defined. The
`IXMLDOMDocument` class has a member function named `abort()`, which gets
affected by our `abort()` macro in "system.h".

`WIN32_LEAN_AND_MEAN` should, nevertheless, always be defined. This
can exclude 'APIs such as Cryptography, DDE, RPC, Shell, and Windows
Sockets' [1], and speed up compilation of these files a bit.

[1] https://learn.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers

gcc/

	PR middle-end/108300
	* config/xtensa/xtensa-dynconfig.c: Define `WIN32_LEAN_AND_MEAN`
	before <windows.h>.
	* diagnostic-color.cc: Likewise.
	* plugin.cc: Likewise.
	* prefix.cc: Likewise.

gcc/ada/

	PR middle-end/108300
	* adaint.c: Define `WIN32_LEAN_AND_MEAN` before `#include
	<windows.h>`.
	* cio.c: Likewise.
	* ctrl_c.c: Likewise.
	* expect.c: Likewise.
	* gsocket.h: Likewise.
	* mingw32.h: Likewise.
	* mkdir.c: Likewise.
	* rtfinal.c: Likewise.
	* rtinit.c: Likewise.
	* seh_init.c: Likewise.
	* sysdep.c: Likewise.
	* terminals.c: Likewise.
	* tracebak.c: Likewise.

gcc/jit/

	PR middle-end/108300
	* jit-w32.h: Define `WIN32_LEAN_AND_MEAN` before <windows.h>.

libatomic/

	PR middle-end/108300
	* config/mingw/lock.c: Define `WIN32_LEAN_AND_MEAN` before
	<windows.h>.

libffi/

	PR middle-end/108300
	* src/aarch64/ffi.c: Define `WIN32_LEAN_AND_MEAN` before
	<windows.h>.

libgcc/

	PR middle-end/108300
	* config/i386/enable-execute-stack-mingw32.c: Define
	`WIN32_LEAN_AND_MEAN` before <windows.h>.
	* libgcc2.c: Likewise.
	* unwind-generic.h: Likewise.

libgfortran/

	PR middle-end/108300
	* intrinsics/sleep.c: Define `WIN32_LEAN_AND_MEAN` before
	<windows.h>.

libgomp/

	PR middle-end/108300
	* config/mingw32/proc.c: Define `WIN32_LEAN_AND_MEAN` before
	<windows.h>.

libiberty/

	PR middle-end/108300
	* make-temp-file.c: Define `WIN32_LEAN_AND_MEAN` before <windows.h>.
	* pex-win32.c: Likewise.

libssp/

	PR middle-end/108300
	* ssp.c: Define `WIN32_LEAN_AND_MEAN` before <windows.h>.

libstdc++-v3/

	PR middle-end/108300
	* src/c++11/system_error.cc: Define `WIN32_LEAN_AND_MEAN` before
	<windows.h>.
	* src/c++11/thread.cc: Likewise.
	* src/c++17/fs_ops.cc: Likewise.
	* src/filesystem/ops.cc: Likewise.

libvtv/

	PR middle-end/108300
	* vtv_malloc.cc: Define `WIN32_LEAN_AND_MEAN` before <windows.h>.
	* vtv_rts.cc: Likewise.
	* vtv_utils.cc: Likewise.
2023-01-07 06:51:06 +00:00
..
abort.c Update copyright years. 2022-01-03 10:42:10 +01:00
access.c Update copyright years. 2022-01-03 10:42:10 +01:00
args.c Update copyright years. 2022-01-03 10:42:10 +01:00
associated.c Update copyright years. 2022-01-03 10:42:10 +01:00
c99_functions.c Update copyright years. 2022-01-03 10:42:10 +01:00
chdir.c Update copyright years. 2022-01-03 10:42:10 +01:00
chmod.c Update copyright years. 2022-01-03 10:42:10 +01:00
clock.c Update copyright years. 2022-01-03 10:42:10 +01:00
cpu_time.c Update copyright years. 2022-01-03 10:42:10 +01:00
cshift0.c fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
ctime.c Update copyright years. 2022-01-03 10:42:10 +01:00
date_and_time.c Update copyright years. 2022-01-03 10:42:10 +01:00
dprod_r8.f90 Update copyright years. 2022-01-03 10:42:10 +01:00
dtime.c Update copyright years. 2022-01-03 10:42:10 +01:00
env.c Update copyright years. 2022-01-03 10:42:10 +01:00
eoshift0.c Update copyright years. 2022-01-03 10:42:10 +01:00
eoshift2.c Update copyright years. 2022-01-03 10:42:10 +01:00
erfc_scaled_inc.c Update copyright years. 2022-01-03 10:42:10 +01:00
erfc_scaled.c fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
etime.c Update copyright years. 2022-01-03 10:42:10 +01:00
execute_command_line.c Update copyright years. 2022-01-03 10:42:10 +01:00
exit.c Update copyright years. 2022-01-03 10:42:10 +01:00
extends_type_of.c Update copyright years. 2022-01-03 10:42:10 +01:00
f2c_specifics.F90 Update copyright years. 2022-01-03 10:42:10 +01:00
fnum.c Update copyright years. 2022-01-03 10:42:10 +01:00
gerror.c Update copyright years. 2022-01-03 10:42:10 +01:00
getcwd.c Update copyright years. 2022-01-03 10:42:10 +01:00
getlog.c Update copyright years. 2022-01-03 10:42:10 +01:00
getXid.c Update copyright years. 2022-01-03 10:42:10 +01:00
hostnm.c Update copyright years. 2022-01-03 10:42:10 +01:00
ierrno.c Update copyright years. 2022-01-03 10:42:10 +01:00
is_contiguous.c Update copyright years. 2022-01-03 10:42:10 +01:00
ishftc.c Update copyright years. 2022-01-03 10:42:10 +01:00
kill.c Update copyright years. 2022-01-03 10:42:10 +01:00
link.c Update copyright years. 2022-01-03 10:42:10 +01:00
move_alloc.c Update copyright years. 2022-01-03 10:42:10 +01:00
mvbits.c Update copyright years. 2022-01-03 10:42:10 +01:00
pack_generic.c fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
perror.c Update copyright years. 2022-01-03 10:42:10 +01:00
rand.c Update copyright years. 2022-01-03 10:42:10 +01:00
random_init.f90 Update copyright years. 2022-01-03 10:42:10 +01:00
random.c fortran, libgfortran: Add remaining missing *_r17 symbols 2022-01-11 23:49:50 +01:00
rename.c Update copyright years. 2022-01-03 10:42:10 +01:00
reshape_generic.c Update copyright years. 2022-01-03 10:42:10 +01:00
reshape_packed.c Update copyright years. 2022-01-03 10:42:10 +01:00
selected_char_kind.c Update copyright years. 2022-01-03 10:42:10 +01:00
selected_int_kind.f90 Update copyright years. 2022-01-03 10:42:10 +01:00
selected_real_kind.f90 Update copyright years. 2022-01-03 10:42:10 +01:00
signal.c Update copyright years. 2022-01-03 10:42:10 +01:00
size.c Update copyright years. 2022-01-03 10:42:10 +01:00
sleep.c Always define WIN32_LEAN_AND_MEAN before <windows.h> 2023-01-07 06:51:06 +00:00
spread_generic.c fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
stat.c Update copyright years. 2022-01-03 10:42:10 +01:00
string_intrinsics_inc.c Update copyright years. 2022-01-03 10:42:10 +01:00
string_intrinsics.c Update copyright years. 2022-01-03 10:42:10 +01:00
symlnk.c Update copyright years. 2022-01-03 10:42:10 +01:00
system_clock.c Update copyright years. 2022-01-03 10:42:10 +01:00
system.c Update copyright years. 2022-01-03 10:42:10 +01:00
time_1.h Update copyright years. 2022-01-03 10:42:10 +01:00
time.c Update copyright years. 2022-01-03 10:42:10 +01:00
trigd_lib.inc libgfortran: Avoid using libquadmath APIs on powerpc64le on glibc 2.32+ 2022-01-11 23:49:52 +01:00
trigd.c fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
trigd.inc Update copyright years. 2022-01-03 10:42:10 +01:00
umask.c Update copyright years. 2022-01-03 10:42:10 +01:00
unlink.c Update copyright years. 2022-01-03 10:42:10 +01:00
unpack_generic.c fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00