From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 0tEkKN5pYmP2LBMAWB0awg (envelope-from ) for ; Wed, 02 Nov 2022 09:00:14 -0400 Received: by simark.ca (Postfix, from userid 112) id 94C031E124; Wed, 2 Nov 2022 09:00:14 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=P99oX/hi; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 4241A1E0CB for ; Wed, 2 Nov 2022 09:00:14 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 89AE03857368 for ; Wed, 2 Nov 2022 13:00:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89AE03857368 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667394013; bh=A7Z4n+5bgt8AN+8M/59G+nYpfCI4hFs8l14qOvd9soc=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=P99oX/hi5tsFm/6genhp9DZxFfSrAVkQL2dEeB4utfy+Vqh2HyfdjpJhiqNTZKrfN wiPLPLl0VIPzkE29p2YZ47hz3JVDuw3w+DZy7ATaA2npY8ZQjlob2WkqO6Y9JiRPQl 4Efyg2NGnkbODRN/BuzcwfXy6IXb/AsZLUcRqbqY= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id DA2BE3858C53 for ; Wed, 2 Nov 2022 12:59:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DA2BE3858C53 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqDLO-0001yM-HA; Wed, 02 Nov 2022 08:59:46 -0400 Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqDLN-00043o-Jx; Wed, 02 Nov 2022 08:59:45 -0400 Date: Wed, 02 Nov 2022 14:59:36 +0200 Message-Id: <83zgd9a4w7.fsf@gnu.org> To: i.nixman@autistici.org In-Reply-To: <6acd12904c2bedb0a96162354d1ee8dd@autistici.org> (message from niXman via Gdb on Wed, 02 Nov 2022 10:15:01 +0000) Subject: Re: _WIN32_WINNT redefined? References: <6485dbfe07e21a1c451b17d3fda5b3d9@autistici.org> <41193fbdb742b1c2d4d7b4ab06561822@autistici.org> <6acd12904c2bedb0a96162354d1ee8dd@autistici.org> X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb Reply-To: Eli Zaretskii Cc: gdb@sourceware.org Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" > Date: Wed, 02 Nov 2022 10:15:01 +0000 > X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, > DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_PASS, > TXREP autolearn=ham autolearn_force=no version=3.4.6 > From: niXman via Gdb > > On 2022-11-02 09:46, niXman via Gdb wrote: > > On 2022-11-02 08:44, niXman via Gdb wrote: > >> On 2022-11-02 08:21, niXman via Gdb wrote: > > > > ok, I did a little research. > > > > the `_WIN32_WINNT` is defined in `gdbsupport/common-defs.h` only, but > > referenced in `gnulib/import/gettimeofdeay.c` and > > `gnulib/import/stat-w32.c` only, but not directly because those files > > include `windows,h` and `sdkdkver.h`. thus that `_WIN32_WINNT` define > > is never used! > > > > so I think the best way is to remove that define completely. > > > > > > ideas? > > > right, with commented out the entire PP block the build was successful! This is the wrong solution, IMO.