From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: gnulib strftime imported into Emacs Date: Mon, 31 Jan 2011 22:25:34 -0800 Organization: UCLA Computer Science Department Message-ID: <4D47A75E.40207@cs.ucla.edu> References: <4D45F788.1020101@cs.ucla.edu> <83k4hkg86r.fsf@gnu.org> <4D474507.8020901@cs.ucla.edu> <837hdkfldn.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1296541559 10760 80.91.229.12 (1 Feb 2011 06:25:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2011 06:25:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 01 07:25:53 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk9gT-0002bY-Sj for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2011 07:25:50 +0100 Original-Received: from localhost ([127.0.0.1]:58471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pk9gS-0001Mj-G2 for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2011 01:25:48 -0500 Original-Received: from [140.186.70.92] (port=60437 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pk9gK-0001LE-Hx for emacs-devel@gnu.org; Tue, 01 Feb 2011 01:25:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pk9gJ-0000XC-CI for emacs-devel@gnu.org; Tue, 01 Feb 2011 01:25:40 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:58442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pk9gG-0000Vj-Ub; Tue, 01 Feb 2011 01:25:37 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 8BC2D39E80F7; Mon, 31 Jan 2011 22:25:35 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tOw927QhWm7z; Mon, 31 Jan 2011 22:25:34 -0800 (PST) Original-Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id AA6CE39E80DC; Mon, 31 Jan 2011 22:25:34 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 In-Reply-To: <837hdkfldn.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135382 Archived-At: On 01/31/2011 08:07 PM, Eli Zaretskii wrote: > MinGW does have it (it comes with GCC), but MSVC doesn't, AFAICS. I > still don't see how a platform that doesn't have stdbool.h in its > system headers use these symbols. Could you please elaborate? HAVE_STDBOOL_H isn't used at all; it's a remnant of Autoconf. I am looking into removing it from Emacs; see . HAVE__BOOL is used only in lib/stdbool.in.h, and its value is relevant only on platforms that do not have a working stdbool.h and do not define __cplusplus. It sounds like MinGW has stdbool.h. If MSVC defines __cplusplus, then you also do not need to worry; otherwise, the stdbool.h build procedure should substitute 1 or 0 for @HAVE__BOOL@ when reading from stdbool.in.h, depending on whether MSVC has built-in support for _Bool.