bug-cvs
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] Re: <stdint.h> on IRIX-5.3 & SGI-cc


From: Bruno Haible
Subject: Re: [bug-gnulib] Re: <stdint.h> on IRIX-5.3 & SGI-cc
Date: Mon, 26 Jun 2006 15:12:06 +0200
User-agent: KMail/1.9.1

Mark D. Baushke wrote:
>       * stdint_.h (__bsdos__): BSD/OS 4.2 needs to include
>           <sys/types.h> to avoid a generated <stdint.h> that redifines
>           typedefs already found in <sys/types.h>.

Thanks, I'm putting this into gnulib.

>  #if @HAVE_STDINT_H@
>    /* Other systems may have an incomplete <stdint.h>.  */
> -# include @FULL_PATH_STDINT_H@
> +# if !defined(__sgi) || !@HAVE_INTTYPES_H@
> +#  include @FULL_PATH_STDINT_H@
> +# endif
>  #endif

It's irritating that you want to avoid including the system <stdint.h>
only in C89 mode, but the #ifs don't test whether the compiler is C89 or
C99. What is the structure of that <stdint.h> file on your IRIX 6.5 system,
and does <inttypes.h> include it or not?

Bruno




reply via email to

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