From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Anyone building Emacs trunk with MinGW w64 (32 bits) Date: Tue, 26 Mar 2013 08:42:06 +0200 Message-ID: <83y5dazmpt.fsf@gnu.org> References: <87zjxumbjf.fsf@wanadoo.es> <83vc8f1t0x.fsf@gnu.org> <87sj3jcr6t.fsf@wanadoo.es> <86zjxrs4jm.fsf@gmail.com> <87k3ovcn1r.fsf@wanadoo.es> <86fvzj2gkz.fsf@gmail.com> <87sj3jaqfs.fsf@wanadoo.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1364280121 1579 80.91.229.3 (26 Mar 2013 06:42:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Mar 2013 06:42:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 26 07:42:28 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UKNaS-00019h-L3 for ged-emacs-devel@m.gmane.org; Tue, 26 Mar 2013 07:42:24 +0100 Original-Received: from localhost ([::1]:57091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKNa4-000622-Qh for ged-emacs-devel@m.gmane.org; Tue, 26 Mar 2013 02:42:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKNa0-00061q-WD for emacs-devel@gnu.org; Tue, 26 Mar 2013 02:41:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKNZz-0007y1-NX for emacs-devel@gnu.org; Tue, 26 Mar 2013 02:41:56 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:45711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKNZz-0007xp-Ev for emacs-devel@gnu.org; Tue, 26 Mar 2013 02:41:55 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MK900J008ZVIZ00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Tue, 26 Mar 2013 08:41:54 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MK900JGF99TJT00@a-mtaout20.012.net.il>; Tue, 26 Mar 2013 08:41:54 +0200 (IST) In-reply-to: <87sj3jaqfs.fsf@wanadoo.es> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158189 Archived-At: > From: =D3scar Fuentes > Date: Tue, 26 Mar 2013 02:40:55 +0100 >=20 > rzl24ozi@gmail.com writes: >=20 > >> Thanks! Unfortunately, it seems that there is no macro that > >> discriminates MinGWW64 from MinGW, so removed the #if for now. > > > > I'm sorry, I made a mistake. > > *i686*-w64-mingw32-gcc does not have a predefined macro __MINGW64= __. > > > > _W64 might be used to determine mingw-w64, but it is defined afte= r #include <_mingw.h>. Doesn't every MinGW64 header include _mingw.h? I think they do, via crtdefs.h. > That could do, possibly with a gcc version check for detecting MinG= W > distributions too old to contain _mingw.h, if necessary. Which distributions didn't? I think they all do.