[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10665: don't access _pollfds if pol
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10665: don't access _pollfds if poll.h isn't found |
Date: |
Thu, 05 Mar 2009 18:10:48 -0700 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10665
committer: address@hidden
branch nick: trunk
timestamp: Thu 2009-03-05 18:10:48 -0700
message:
don't access _pollfds if poll.h isn't found
modified:
libnet/network.h
=== modified file 'libnet/network.h'
--- a/libnet/network.h 2009-03-05 19:35:09 +0000
+++ b/libnet/network.h 2009-03-06 01:10:48 +0000
@@ -245,8 +245,10 @@
void erasePollFD(std::vector<struct pollfd>::iterator &itt);
struct pollfd &getPollFD(int fd);
struct pollfd *getPollFDPtr();
+#ifdef HAVE_POLL_H
size_t getPollFDSize() { return _pollfds.size(); };
void clearPollFD() { _pollfds.clear(); };
+#endif
// The entry point is an function pointer, which is the event
// handler when there is data on a file descriptor.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10665: don't access _pollfds if poll.h isn't found,
rob <=