+Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gmain.c: fixes to #undef HAVE_POLL case
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_set_month): If Julian is valid, we have to
+Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gmain.c: fixes to #undef HAVE_POLL case
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_set_month): If Julian is valid, we have to
+Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gmain.c: fixes to #undef HAVE_POLL case
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_set_month): If Julian is valid, we have to
+Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gmain.c: fixes to #undef HAVE_POLL case
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_set_month): If Julian is valid, we have to
+Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gmain.c: fixes to #undef HAVE_POLL case
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_set_month): If Julian is valid, we have to
+Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gmain.c: fixes to #undef HAVE_POLL case
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_set_month): If Julian is valid, we have to
+Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gmain.c: fixes to #undef HAVE_POLL case
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_set_month): If Julian is valid, we have to
+Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gmain.c: fixes to #undef HAVE_POLL case
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_set_month): If Julian is valid, we have to
* Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc.
*/
+#include <string.h> /* for bzero on BSD systems */
+
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif /* HAVE_SYS_SELECT_H_ */
FD_SET (f->fd, &wset);
if (f->events & G_IO_PRI)
FD_SET (f->fd, &xset);
- if (f->fd > maxfd && (f->events & (POLLIN|POLLOUT|POLLPRI)))
+ if (f->fd > maxfd && (f->events & (G_IO_IN|G_IO_OUT|G_IO_PRI)))
maxfd = f->fd;
}
if (func)
poll_func = func;
else
+#ifdef HAVE_POLL
poll_func = (GPollFunc)poll;
+#else
+ poll_func = (GPollFunc)g_poll;
+#endif
}
/* Timeouts */
* Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc.
*/
+#include <string.h> /* for bzero on BSD systems */
+
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif /* HAVE_SYS_SELECT_H_ */
FD_SET (f->fd, &wset);
if (f->events & G_IO_PRI)
FD_SET (f->fd, &xset);
- if (f->fd > maxfd && (f->events & (POLLIN|POLLOUT|POLLPRI)))
+ if (f->fd > maxfd && (f->events & (G_IO_IN|G_IO_OUT|G_IO_PRI)))
maxfd = f->fd;
}
if (func)
poll_func = func;
else
+#ifdef HAVE_POLL
poll_func = (GPollFunc)poll;
+#else
+ poll_func = (GPollFunc)g_poll;
+#endif
}
/* Timeouts */