]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
sys_select-h: Remove support for IRIX.
authorBruno Haible <bruno@clisp.org>
Wed, 10 Sep 2025 21:17:33 +0000 (23:17 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 10 Sep 2025 21:17:42 +0000 (23:17 +0200)
* lib/sys_select.in.h: Remove code for IRIX.

ChangeLog
lib/sys_select.in.h

index debe707e7d8f510ab5dfdd12d18a60eafe485219..99f1d3b6f724ccf5a368dca820570e5d68821b8b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2025-09-10  Bruno Haible  <bruno@clisp.org>
 
+       sys_select-h: Remove support for IRIX.
+       * lib/sys_select.in.h: Remove code for IRIX.
+
        sysexits-h: Remove support for IRIX.
        * lib/sysexits.in.h: Remove code for IRIX.
 
index b3ba21e151cf511877d59d74746ce956e651e7fa..69c2fa9fc4e1c91f1bf715d3f6818f37f66c2be2 100644 (file)
 # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H
 # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@
 
-/* On IRIX 6.5, <sys/timespec.h> includes <sys/types.h>, which includes
-   <sys/bsd_types.h>, which includes <sys/select.h>.  At this point we cannot
-   include <signal.h>, because that includes <internal/signal_core.h>, which
-   gives a syntax error because <sys/timespec.h> has not been completely
-   processed.  Simply delegate to the system's header in this case.  */
-#elif @HAVE_SYS_SELECT_H@ && defined __sgi && (defined _SYS_BSD_TYPES_H && !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H)
-
-# define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H
-# @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@
-
 /* On OpenBSD 5.0, <pthread.h> includes <sys/types.h>, which includes
    <sys/select.h>.  At this point we cannot include <signal.h>, because that
    includes gnulib's pthread.h override, which gives a syntax error because
@@ -85,8 +75,7 @@
 
 #if @HAVE_SYS_SELECT_H@
 
-/* Mac OS X, AIX, HP-UX, IRIX, Solaris, Interix declare select()
-   in <sys/time.h>.
+/* Mac OS X, AIX, HP-UX, Solaris, Interix declare select() in <sys/time.h>.
    But avoid namespace pollution on glibc systems, a circular include
    <sys/select.h> -> <sys/time.h> -> <sys/select.h> on FreeBSD 13.1, and
    "unknown type name" problems on Cygwin.  */