mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-25 21:46:14 +01:00
if _POLL_EMUL_H is defined, undefine HAVE_POLL to prefer our own poll()
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)
This commit is contained in:
parent
df592b6e53
commit
d261f3fbfc
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmacros.h (G_STMT_START): Add __extension__
|
* glib/gmacros.h (G_STMT_START): Add __extension__
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmacros.h (G_STMT_START): Add __extension__
|
* glib/gmacros.h (G_STMT_START): Add __extension__
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmacros.h (G_STMT_START): Add __extension__
|
* glib/gmacros.h (G_STMT_START): Add __extension__
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmacros.h (G_STMT_START): Add __extension__
|
* glib/gmacros.h (G_STMT_START): Add __extension__
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmacros.h (G_STMT_START): Add __extension__
|
* glib/gmacros.h (G_STMT_START): Add __extension__
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmacros.h (G_STMT_START): Add __extension__
|
* glib/gmacros.h (G_STMT_START): Add __extension__
|
||||||
|
@ -48,6 +48,14 @@
|
|||||||
# include <sys/poll.h>
|
# include <sys/poll.h>
|
||||||
# undef events /* AIX 4.1.5 & 4.3.2 define this for SVR3,4 compatibility */
|
# 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 */
|
# 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 */
|
#endif /* GLIB_HAVE_SYS_POLL_H */
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user