Re: [Nagios-devel] Problem compiling nagios 2.3.1
Posted: Wed May 17, 2006 3:50 am
Andrea Gabellini wrote:
> Hi,
>
> CHAR_BIT is also defined in iso/limits_iso.h.
>
> What about a way to include this file if we are on Solaris?
>
iso/limits_iso.h doesn't exist on very many systems. It should, if
needed, be included by simply grabbing . is POSIX,
and by POSIX rules it should define (or include the files that define)
INT_MAX and CHAR_BIT.
In other words, including should be enough. If it isn't then
it should be considered a compliance bug in the header files.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> Hi,
>
> CHAR_BIT is also defined in iso/limits_iso.h.
>
> What about a way to include this file if we are on Solaris?
>
iso/limits_iso.h doesn't exist on very many systems. It should, if
needed, be included by simply grabbing . is POSIX,
and by POSIX rules it should define (or include the files that define)
INT_MAX and CHAR_BIT.
In other words, including should be enough. If it isn't then
it should be considered a compliance bug in the header files.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]