diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-20 00:27:01 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-20 00:27:01 +0000 |
commit | 69077c198dfdd5c66fda335f6260797625fad59f (patch) | |
tree | 712a0fd3d4406980af8d824addaba5f9311a7521 /ext/IO | |
parent | 89e56082c327f6fc30d80b6cd283a1544b71774a (diff) | |
download | perl-69077c198dfdd5c66fda335f6260797625fad59f.tar.gz |
do poll() emulation unless HAS_POLL && I_POLL
p4raw-id: //depot/perl@2989
Diffstat (limited to 'ext/IO')
-rw-r--r-- | ext/IO/poll.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/IO/poll.h b/ext/IO/poll.h index d17edffd79..c5cdd7f916 100644 --- a/ext/IO/poll.h +++ b/ext/IO/poll.h @@ -10,11 +10,8 @@ #ifndef POLL_H # define POLL_H -#if defined(I_POLL) || defined(POLLWRBAND) +#if (defined(HAS_POLL) && defined(I_POLL)) || defined(POLLWRBAND) # include <poll.h> -# ifndef HAS_POLL -# define HAS_POLL -# endif #else #ifdef HAS_SELECT |