Re: _GPollFD conflicts on AIX
- From: "Matthias Clasen" <maclas gmx de>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: _GPollFD conflicts on AIX
- Date: Thu, 19 Feb 2004 14:59:43 +0100 (MET)
> > 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?
>
> It should be OK unless you include <sys/poll.h> after <glib/gmain.h>;
> this is one of several reasons you should include system headers
> first in a .c file.
Do we have general advice regarding include file order in the api docs
somewhere, or should we
add a specific note for this problem in the gmain docs ?
Matthias
--
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]