Mark D. Baushke wrote: > In fact, the SGI > IRIX 5.3 c99 compiler does have <inttypes.h> do > this. When c89 is used, the file is not included, > but all of the needed types are defined.
Let me try to recap it. Do these comments reflect the reality? Bruno *** lib/stdint_.h 26 Jun 2006 13:06:51 -0000 1.20 --- lib/stdint_.h 26 Jun 2006 13:25:35 -0000 *************** *** 67,73 **** #endif #if @HAVE_STDINT_H@ /* Other systems may have an incomplete <stdint.h>. */ ! # include @FULL_PATH_STDINT_H@ #endif /* 7.18.1.1. Exact-width integer types */ --- 67,81 ---- #endif #if @HAVE_STDINT_H@ /* Other systems may have an incomplete <stdint.h>. */ ! /* On some versions of IRIX, the SGI C compiler comes with an <stdint.h>, ! but ! - in c99 mode, <inttypes.h> includes <stdint.h>, ! - in c89 mode, <stdint.h> spews warnings and <inttypes.h> too ! defines all types and macros that are defined in <stdint.h>. ! So we rely only on <inttypes.h> (included above). */ ! # if !(defined(__sgi) && @HAVE_INTTYPES_H@) ! # include @FULL_PATH_STDINT_H@ ! # endif #endif /* 7.18.1.1. Exact-width integer types */