summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2003-03-17 19:10:10 -0600
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-03-18 21:22:03 +0000
commitd2d53deba7dbe551bfa81a6ebef39167b1be9a61 (patch)
tree38e492f6653ef7b1e624d8e88e4244d187ecc267 /ext
parent4492b098a8517fe1f73eca32139095ceb008ac02 (diff)
downloadperl-d2d53deba7dbe551bfa81a6ebef39167b1be9a61.tar.gz
poll() help for VMS
From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <3E76C652.30205@mac.com> p4raw-id: //depot/perl@19023
Diffstat (limited to 'ext')
-rw-r--r--ext/IO/poll.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/IO/poll.h b/ext/IO/poll.h
index 4055b49624..634bcddd15 100644
--- a/ext/IO/poll.h
+++ b/ext/IO/poll.h
@@ -20,6 +20,11 @@
#define EMULATE_POLL_WITH_SELECT
+#ifdef poll
+# undef poll
+#endif
+#define poll Perl_my_poll
+
typedef struct pollfd {
int fd;
short events;