[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib strftime imported into Emacs
From: |
Paul Eggert |
Subject: |
Re: gnulib strftime imported into Emacs |
Date: |
Mon, 31 Jan 2011 22:25:34 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
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
<http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00571.html>.
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.
- Re: gnulib strftime imported into Emacs,
Paul Eggert <=