From: David Dyck Date: Mon, 2 Jul 2001 14:58:27 +0000 (-0700) Subject: #7217: config.h comments for HAS_POLL incorrect X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ce647182f445381be8b7e59ae7dcb564635409c6;p=p5sagit%2Fp5-mst-13.2.git #7217: config.h comments for HAS_POLL incorrect http://rt.perl.org/rt3/Ticket/Display.html?id=7217 Subject: config.h comments for HAS_POLL incorrect p4raw-id: //depot/perl@28625 --- diff --git a/config_h.SH b/config_h.SH index 95b8230..0db5463 100644 --- a/config_h.SH +++ b/config_h.SH @@ -373,13 +373,6 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_pipe HAS_PIPE /**/ -/* HAS_POLL: - * This symbol, if defined, indicates that the poll routine is - * available to poll active file descriptors. You may safely - * include when this symbol is defined. - */ -#$d_poll HAS_POLL /**/ - /* HAS_READDIR: * This symbol, if defined, indicates that the readdir routine is * available to read directory entries. You may have to include @@ -3504,7 +3497,7 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un /* I_POLL: * This symbol, if defined, indicates that exists and - * should be included. + * should be included. (see also HAS_POLL) */ #$i_poll I_POLL /**/ @@ -4425,5 +4418,12 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #define M_VOID /* Xenix strikes again */ #endif +/* HAS_POLL: + * This symbol, if defined, indicates that the poll routine is + * available to poll active file descriptors. You may safely + * include when both this symbol *and* I_POLL are defined. + */ +#$d_poll HAS_POLL /**/ + #endif !GROK!THIS!