+Sun Mar 14 12:58:30 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c: if _POLL_EMUL_H is defined, undefine
+ HAVE_POLL to prefer our own poll() emulation to the
+ lame OS/X one. (#136956, Manish Singh)
+
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmacros.h (G_STMT_START): Add __extension__
+Sun Mar 14 12:58:30 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c: if _POLL_EMUL_H is defined, undefine
+ HAVE_POLL to prefer our own poll() emulation to the
+ lame OS/X one. (#136956, Manish Singh)
+
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmacros.h (G_STMT_START): Add __extension__
+Sun Mar 14 12:58:30 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c: if _POLL_EMUL_H is defined, undefine
+ HAVE_POLL to prefer our own poll() emulation to the
+ lame OS/X one. (#136956, Manish Singh)
+
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmacros.h (G_STMT_START): Add __extension__
+Sun Mar 14 12:58:30 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c: if _POLL_EMUL_H is defined, undefine
+ HAVE_POLL to prefer our own poll() emulation to the
+ lame OS/X one. (#136956, Manish Singh)
+
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmacros.h (G_STMT_START): Add __extension__
+Sun Mar 14 12:58:30 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c: if _POLL_EMUL_H is defined, undefine
+ HAVE_POLL to prefer our own poll() emulation to the
+ lame OS/X one. (#136956, Manish Singh)
+
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmacros.h (G_STMT_START): Add __extension__
+Sun Mar 14 12:58:30 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c: if _POLL_EMUL_H is defined, undefine
+ HAVE_POLL to prefer our own poll() emulation to the
+ lame OS/X one. (#136956, Manish Singh)
+
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmacros.h (G_STMT_START): Add __extension__
# include <sys/poll.h>
# undef events /* AIX 4.1.5 & 4.3.2 define this for SVR3,4 compatibility */
# undef revents /* AIX 4.1.5 & 4.3.2 define this for SVR3,4 compatibility */
+
+/* The poll() emulation on OS/X doesn't handle fds=NULL, nfds=0,
+ * so we prefer our own poll emulation.
+ */
+#ifdef _POLL_EMUL_H_
+#undef HAVE_POLL
+#endif
+
#endif /* GLIB_HAVE_SYS_POLL_H */
#ifdef HAVE_UNISTD_H
#include <unistd.h>