]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
stdint-h: Remove support for IRIX.
authorBruno Haible <bruno@clisp.org>
Wed, 10 Sep 2025 21:16:28 +0000 (23:16 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 10 Sep 2025 21:16:28 +0000 (23:16 +0200)
* lib/stdint.in.h: Don't define __STDINT_H__.

ChangeLog
lib/stdint.in.h

index 422901735b955c5997704cdea0fbdc2b52f3db16..8bacca3b36118a8bdc2ace5a375dfc62af82e6e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2025-09-10  Bruno Haible  <bruno@clisp.org>
 
+       stdint-h: Remove support for IRIX.
+       * lib/stdint.in.h: Don't define __STDINT_H__.
+
        sigabbrev_np, sigdescr_np: Remove support for IRIX.
        * lib/sigabbrev_np.c (sigabbrev_np): Remove cases for SIGCKPT,
        SIGPTINTR, SIGPTRESCHED, SIGRESTART, SIGUME.
index 226165fa1027e7b8ae31e5bd8d4173645774fbf5..4df6433338f6b848d71c109ac462e2dfc573e145 100644 (file)
    in public interfaces due to compiler differences.  */
 
 #if @HAVE_STDINT_H@
-# if defined __sgi && ! defined __c99
-   /* Bypass IRIX's <stdint.h> if in C89 mode, since it merely annoys users
-      with "This header file is to be used only for c99 mode compilations"
-      diagnostics.  */
-#  define __STDINT_H__
-# endif
-
   /* Some pre-C++11 <stdint.h> implementations need this.  */
 # ifdef __cplusplus
 #  ifndef __STDC_CONSTANT_MACROS
@@ -94,8 +87,8 @@
 
 #if ! @HAVE_C99_STDINT_H@
 
-/* <sys/types.h> defines some of the stdint.h types as well, on glibc,
-   IRIX 6.5, and OpenBSD 3.8 (via <machine/types.h>).
+/* <sys/types.h> defines some of the stdint.h types as well, on glibc and
+   OpenBSD 3.8 (via <machine/types.h>).
    AIX 5.2 <sys/types.h> isn't needed and causes troubles.
    Mac OS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but
    relies on the system <stdint.h> definitions, so include