[PATCH] AIX - fix for xlc compile warnings due to RTLD_ macro definitions

Ethan Galstad nagios at nagios.org
Sun Nov 2 19:06:57 CET 2008


Markus Baertschi wrote:
> 
> On AIX the xlc compiler generates two warnings for each source file
> because the RTLD_ macros are defined before <dlfcn.h> is included.
> This patch moves the definitions to after the include.
> 
> The patch applies against 3.0.3 and the CVS tarball. I've tested
> it on AIX 5.3 with xlc (the IBM compiler) and gcc and also on
> Linux (Ubuntu hardy, gcc 4.1.2).
> 
> Markus

Thanks!

- Ethan Galstad

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/




More information about the Developers mailing list