Re: small glib patch for AIX




"Gilbert Ramirez Jr." <gram@verdict.uthscsa.edu> writes:

> This small patch (or something like it) is required to compile gmain.c in
> glib-1.1.12 on AIX 4.1.5. The patch explains why it is needed; AIX has two
> #define's that in <sys/poll.h> that work against the code in gmain.c that
> access the events and revents members of a GPollFD struct.

Thanks for the patch. Currently the CVS GTK+ has the following:

====
Mon Jan  4 20:58:50 1999  Tim Janik  <timj@gtk.org>

[...]

	* gmain.c: #undef events and revents which may have been defined in
 	sys/poll.h for SVR3,4 compatibility on some AIX systems. fix been
	provided by Philippe Defert <Philippe.Defert@cern.ch>.
====

I think this should be sufficient.

                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]