[Top][All Lists]

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

Re: autoconf-2.50 docs: Common Behavior/Default Includes

From: Lars Hecking
Subject: Re: autoconf-2.50 docs: Common Behavior/Default Includes
Date: Tue, 29 May 2001 10:33:14 +0100
User-agent: Mutt/1.3.18i

 Thanks Paul and Russ!

> C99 stdint.h exists only for freestanding environments --
> i.e. environments without a C library, where the only available
> headers are float.h, iso646.h, limits.h, stdarg.h, stdbool.h,
> stddef.h, and stdint.h.  In effect, stdint.h is the freestanding part
> of inttypes.h.
 Sorry, I'm unfamiliar with the C99 Standard, but did it adopt sys/types.h,
 or define any relationship between sys/types.h and stdint.h/inttypes.h?

> should be changed to:
>      #if HAVE_INTTYPES_H
>      # include <inttypes.h>
>      #else
>      # if HAVE_STDINT_H
>      #  include <stdint.h>
>      # endif
>      #endif

 I think I will adopt this approach.

reply via email to

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