EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BoolDefs.h File Reference

Go to the source code of this file.

Macros

#define BOOL   int
 
#define true   1
 
#define false   0
 

Macro Definition Documentation

#define BOOL   int

Problem: how to handle bool data type when the CC compiler doesn't know it?. Tricky example: Irix6: on R10000 CC has it built in, but if compiled with -o32 it is not there. In addition STL defines a bool that will give a conflict if you define it by hand.

Author
M.Purschke, C.Witzig \ { Date: } April 8, 98 \
Version
Last update April 8, 98

Definition at line 32 of file BoolDefs.h.

View newest version in sPHENIX GitHub at line 32 of file BoolDefs.h