TRUE and FALSE

Ben bench at silentmedia.com
Tue Apr 5 23:12:28 CEST 2005


I'm making a NEB module that will rely on glib, which defines TRUE and 
FALSE. Nagios also defines TRUE and FALSE in include/common.h. 

Predictably, the compiler is unhappy when I try to compile my NEB.

Ethan, do you have a problem wrapping your TRUE/FALSE defines in an 
#ifndef TRUE test?



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click




More information about the Developers mailing list