Defining _DBUS_POLL* in dbus-sysdeps.h
Havoc Pennington
hp at pobox.com
Fri Nov 7 12:49:52 PST 2008
Hi,
On Fri, Nov 7, 2008 at 11:18 AM, Schmottlach, Glenn
<GSchmott at harmanbecker.com> wrote:
> I wonder, if "HAVE_POLL" is already defined, then why not use the actual
> POLL* values defined in the header sys/poll.h instead of hard-coding values?
> The code would then look like this and be much more portable to other OSes
> (namely QNX ;-):
>
The idea is to avoid system headers, so platform dependencies are
completely contained in the -sysdeps files
If system headers are included, inevitably they end up getting used or
relied on in some way.
Should just add a qnx case here probably.
Havoc
More information about the dbus
mailing list