summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorDavid Dyck <david.dyck@fluke.com>2001-07-02 07:58:27 -0700
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-07-27 15:33:07 +0000
commitce647182f445381be8b7e59ae7dcb564635409c6 (patch)
treedfc3976c248d6bf479ebdf601d752c9285c9b9af /config_h.SH
parente4f7495686064f7d2b4d79529c27d4d5cbcc2672 (diff)
downloadperl-ce647182f445381be8b7e59ae7dcb564635409c6.tar.gz
#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
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH16
1 files changed, 8 insertions, 8 deletions
diff --git a/config_h.SH b/config_h.SH
index 95b82305ad..0db54634ea 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -373,13 +373,6 @@ sed <<!GROK!THIS! >$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 <poll.h> 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 <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
/* I_POLL:
* This symbol, if defined, indicates that <poll.h> exists and
- * should be included.
+ * should be included. (see also HAS_POLL)
*/
#$i_poll I_POLL /**/
@@ -4425,5 +4418,12 @@ sed <<!GROK!THIS! >$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 <poll.h> when both this symbol *and* I_POLL are defined.
+ */
+#$d_poll HAS_POLL /**/
+
#endif
!GROK!THIS!