From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id quQfCx8DfWAsZgAAWB0awg (envelope-from ) for ; Mon, 19 Apr 2021 00:12:15 -0400 Received: by simark.ca (Postfix, from userid 112) id 20BD81F104; Mon, 19 Apr 2021 00:12:15 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 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 9A9161E813 for ; Mon, 19 Apr 2021 00:12:14 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 224BC394FC36; Mon, 19 Apr 2021 04:12:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 224BC394FC36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1618805534; bh=qRIM/2IwtWc69BTuteUs8kdGsGQ0yyBNt1F4CszIuYE=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=p6LAJrCNd0mQQhcktp4FWRy/RH2pNDJ585ZMhIEQi0gRmRvnAUcvOHzi1XJSqxzim JrkEHsge9rvSWu1hSWJamjL9Xpt1NtPVTQDPiDz7+DJQ9lk/F9AHQViAYUbKokCnf9 eqVdi/iqsNiP4Nj6TJMja5VUDnmYKkVZlU0sSdww= Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 4F65C394FC36 for ; Mon, 19 Apr 2021 04:12:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4F65C394FC36 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 509C4340E13; Mon, 19 Apr 2021 04:12:10 +0000 (UTC) Date: Mon, 19 Apr 2021 00:12:10 -0400 To: Jim Wilson Subject: Re: [PATCH 21/24] RISC-V sim: Fix mingw builds. Message-ID: Mail-Followup-To: Jim Wilson , gdb-patches@sourceware.org References: <20210417175831.16413-1-jimw@sifive.com> <20210417175831.16413-22-jimw@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210417175831.16413-22-jimw@sifive.com> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 17 Apr 2021 10:58, Jim Wilson wrote: > switch (cpu->a7) > { > +#ifndef __MINGW32__ we def don't want to do it this way. test for the func at configure time via AC_CHECK_FUNCS_ONCE and then make the logic conditional upon it existing. -mike