Solaris, it's not necessary to check if we should redeliver SIGIO,
according to David Mackenzie.
* s/sol2.h: #include "usg5-4.h", and #define const.
else
error("select error: %s", sys_errlist[xerrno]);
}
-#ifdef sun
+#if defined(sun) && !defined(USG5_4)
else if (nfds > 0 && FD_ISSET (0, &Available) && interrupt_input)
/* System sometimes fails to deliver SIGIO. */
kill (getpid (), SIGIO);
-#include "s-usg5-4.h"
+#include "usg5-4.h"
#define POSIX
#else /* GCC */
#define C_SWITCH_SYSTEM -traditional
#endif /* GCC */
+#define const
/* Karl Berry writes:
If you have the misfortune to be running Solaris 2.1, you may have