From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99291 invoked by alias); 30 Apr 2019 15:25:34 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 99282 invoked by uid 89); 30 Apr 2019 15:25:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:652 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 Apr 2019 15:25:32 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLUdP-0007il-Bv; Tue, 30 Apr 2019 11:25:31 -0400 Received: from [176.228.60.248] (port=4205 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hLUdO-0006Sh-C1; Tue, 30 Apr 2019 11:25:31 -0400 Date: Tue, 30 Apr 2019 15:25:00 -0000 Message-Id: <83imuvsefv.fsf@gnu.org> From: Eli Zaretskii To: LRN CC: gdb-patches@sourceware.org In-reply-to: <365578d2-82fb-8860-26e6-1b31a63632ed@gmail.com> (message from LRN on Tue, 30 Apr 2019 16:05:55 +0300) Subject: Re: Fix compilation using mingw.org's MinGW References: <835zrbe36c.fsf@gnu.org> <250801eb-14f6-5a35-0556-cf5797dd8a7b@redhat.com> <83y347cfbu.fsf@gnu.org> <556cefd7-47ce-54ab-a228-2c727aab4179@redhat.com> <83d0lick7o.fsf@gnu.org> <93ccb0fa-8a05-60ff-d1a8-85d5663b8d16@redhat.com> <831s1murm2.fsf@gnu.org> <365578d2-82fb-8860-26e6-1b31a63632ed@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00652.txt.bz2 > From: LRN > Date: Tue, 30 Apr 2019 16:05:55 +0300 > > > - IIRC, Cygwin uses the same w32api headers as mingw.org. I don't know > > whether Cygwin sets _WIN32_WINNT to a higher number already; we > > haven't heard any complaints, so I guess it does. > > > > Cygwin uses mingw-w64. Maybe I'm missing something, but I don't think this is relevant. _WIN32_WINNT is not a MinGW invention, it's an official symbol in Windows headers, so all Windows compilers need to support it in the same way and with the same semantics. The only difference is the default value. Am I missing something?