From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Correctly handling MinGW-w64 Date: Mon, 17 Nov 2014 15:59:47 +0100 Message-ID: <87egt1rhy4.fsf@wanadoo.es> References: <87r3x2qyjg.fsf@wanadoo.es> <546973D0.7050306@cs.ucla.edu> <87ioieqxbb.fsf@wanadoo.es> <54697A45.1040505@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1416236441 19723 80.91.229.3 (17 Nov 2014 15:00:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2014 15:00:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 17 16:00:34 2014 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 1XqNn6-0003sK-N9 for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 16:00:32 +0100 Original-Received: from localhost ([::1]:48276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqNn6-0000j8-DW for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 10:00:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqNmj-0000YK-Gh for emacs-devel@gnu.org; Mon, 17 Nov 2014 10:00:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqNmd-00020q-I2 for emacs-devel@gnu.org; Mon, 17 Nov 2014 10:00:09 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:58073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqNmd-0001yi-Cb for emacs-devel@gnu.org; Mon, 17 Nov 2014 10:00:03 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XqNmb-0003cT-BC for emacs-devel@gnu.org; Mon, 17 Nov 2014 16:00:01 +0100 Original-Received: from 132.red-79-158-48.staticip.rima-tde.net ([79.158.48.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Nov 2014 16:00:01 +0100 Original-Received: from ofv by 132.red-79-158-48.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Nov 2014 16:00:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 132.red-79-158-48.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:tIapGeuZHpEqvILeQOLD0/M+D3Q= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:177414 Archived-At: Paul Eggert writes: > Óscar Fuentes wrote: >>> into ms-w32.h or into some other header specific to Microsoft Windows? >> We don't have a header that is included by all the .c files, right? > > Every .c file includes stdbool.h, string.h, and stdlib.h, via > conf_post.h. If none of those serve, you can include whatever file > you like (stdio.h, say), in ms-w32.h or something like that. Doing that is a kludge. At some point on the future someone will change how some of those files are #included (or remove them altogether). It is fundamental that the MINGW_W64 define is guaranteed to be visible everywhere. If we are using MinGW-w64 and some file checks MINGW_W64 but has not it in scope, chances are that the build will carry on but things will break in subtle ways at run time. > There shouldn't be any need to bother 'configure' about this. I thought that this type of tasks are the raison d'être of `configure'.