[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what happened to HAVE_STDBOOL_H

From: Eric Blake
Subject: Re: what happened to HAVE_STDBOOL_H
Date: Tue, 03 May 2011 16:03:16 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 05/03/2011 03:52 PM, Sam Steingold wrote:
> when I regenerate config.h with the current gnulib, I get:
> @@ -871,12 +979,6 @@
>  /* `struct sockaddr_un' from <sys/un.h> has a `sun_len' field */
> -/* Define to 1 if stdbool.h conforms to C99. */
> -#undef HAVE_STDBOOL_H
> -
> -/* Define to 1 if you have the <stddef.h> header file. */
> -#undef HAVE_STDDEF_H
> -
>  /* Define to 1 if you have the <stdint.h> header file. */
>  #undef HAVE_STDINT_H
> what happenned? are we assuming that all platforms now have these files?

<stddef.h> is required by C89, so yes, it was a redundant declaration.

<stdbool.h> is not required by C89.  However, nothing else in gnulib
used the results of the test, and the idea is that if you are using
gnulib's stdbool module, you don't care about a fully
standards-compliant <stdbool.h>, rather you care about the subset of
<stdbool.h> guaranteed by gnulib.  So we trimmed the size of config.h
for the sake of emacs:

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]