Re: [Nagios-devel] Problem compiling nagios 2.3.1

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Problem compiling nagios 2.3.1

Post by Guest »

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]
Locked