From: Bruno Haible Date: Wed, 10 Sep 2025 21:17:33 +0000 (+0200) Subject: sys_select-h: Remove support for IRIX. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=010ee7ea0785007b3a141dd5cba9ec5ee259fe09;p=thirdparty%2Fgnulib.git sys_select-h: Remove support for IRIX. * lib/sys_select.in.h: Remove code for IRIX. --- diff --git a/ChangeLog b/ChangeLog index debe707e7d..99f1d3b6f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2025-09-10 Bruno Haible + 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. diff --git a/lib/sys_select.in.h b/lib/sys_select.in.h index b3ba21e151..69c2fa9fc4 100644 --- a/lib/sys_select.in.h +++ b/lib/sys_select.in.h @@ -50,16 +50,6 @@ # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ -/* On IRIX 6.5, includes , which includes - , which includes . At this point we cannot - include , because that includes , which - gives a syntax error because 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, includes , which includes . At this point we cannot include , 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 . +/* Mac OS X, AIX, HP-UX, Solaris, Interix declare select() in . But avoid namespace pollution on glibc systems, a circular include -> -> on FreeBSD 13.1, and "unknown type name" problems on Cygwin. */