_GPollFD conflicts on AIX
- From: Albert Chin <gtk-devel-list thewrittenword com>
- To: gtk-devel-list gnome org
- Subject: _GPollFD conflicts on AIX
- Date: Wed, 18 Feb 2004 20:49:37 -0600
<glib/gmain.h> defines:
struct _GPollFD
{
gint fd;
gushort events;
gushort revents;
};
Unfortunately, on AIX 4.3.2 and 5.1 in <sys/poll.h> we have:
#define events reqevents /* SVR3,4 pollfd member name */
#define revents rtnevents /* SVR3,4 pollfd member name */
So, if a .c file #includes <sys/poll.h> directly or indirectly and
<glib/gmain.h>, the events/revents members get renamed. How should we
solve this?
--
albert chin (china thewrittenword com)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]