OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pth.h.in versions 1.131 and 1.132
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/pth/pth.h.in 1.131 -> 1.132

--- pth.h.in     2002/01/27 11:03:40     1.131
+++ pth.h.in     2002/10/15 21:14:27     1.132
@@ -317,7 +317,20 @@
 #define PTH_FAKE_POLL @PTH_FAKE_POLL@
 #if !(PTH_FAKE_POLL)
 /* use vendor poll(2) environment */
+#define _XOPEN_SOURCE
 #include <poll.h>
+#ifndef POLLRDNORM
+#define POLLRDNORM POLLIN
+#endif
+#ifndef POLLRDBAND
+#define POLLRDBAND POLLIN
+#endif
+#ifndef POLLWRNORM
+#define POLLWRNORM POLLOUT
+#endif
+#ifndef POLLWRBAND
+#define POLLWRBAND POLLOUT
+#endif
 #ifndef INFTIM
 #define INFTIM (-1)
 #endif

CVSTrac 2.0.1