From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id 3314D3858D28 for ; Sat, 4 Mar 2023 06:47:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3314D3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1677912457; bh=v2ajIJ4ktPEi3ZJxf4A5D6puNGK+qeNp70wWGxIWcWA=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=bhQXs1ZDWliS71nQYhh4vb1F2pyVFsS+cuXSWcRpo6CPJlniCZ71wBJs55AKJW7vf 8q0B5qJaz5mqPrD6/FDgTf8bcCxg3lYd+/MDV10m89Auu6cy5T9heweuhxQ/Ssnt/a OVUhe1ysofMKrxRzyAEGta9xdBEFFI7fu7FO+VI8= Received: from [IPv6:240e:456:1020:8d51:d51:12db:d723:196b] (unknown [IPv6:240e:456:1020:8d51:d51:12db:d723:196b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id A68E665B0D; Sat, 4 Mar 2023 01:47:32 -0500 (EST) Message-ID: <7edb4e42526c2e410cf26bd078a4ad2eca0b8426.camel@xry111.site> Subject: Re: [PATCH] Always define `WIN32_LEAN_AND_MEAN` before From: Xi Ruoyao To: Jonathan Yong <10walls@gmail.com>, Jakub Jelinek , LIU Hao Cc: gcc-patches@gcc.gnu.org, Ian Lance Taylor Date: Sat, 04 Mar 2023 14:47:21 +0800 In-Reply-To: <31b70646-db39-d5c1-475b-67e9ed1f98bd@gmail.com> References: <31b70646-db39-d5c1-475b-67e9ed1f98bd@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,LIKELY_SPAM_FROM,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Sat, 2023-01-07 at 06:52 +0000, Jonathan Yong via Gcc-patches wrote: > On 1/6/23 18:10, Jakub Jelinek wrote: > > On Sat, Jan 07, 2023 at 02:01:05AM +0800, LIU Hao via Gcc-patches > > wrote: > > > libgomp/ > > >=20 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0PR middle-end/108300 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0* config/mingw32/proc= .c: Define `WIN32_LEAN_AND_MEAN` > > > before > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0. > >=20 > > This change is ok for trunk. > >=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Jakub > >=20 >=20 > Pushed to master branch, thanks LH. The patch touches libgo (w/o mentioning it in the ChangeLog). I guess you need to contribute the libgo part into the upstream Go runtime or the change will be undone when Ian merges libgo next time. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University