Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:32

0001 #ifndef __BOOLDEFS_H
0002 #define __BOOLDEFS_H
0003 
0004 /*
0005  *--------------------------------------------
0006  * 
0007  * booldefs.h
0008  *
0009  *--------------------------------------------
0010  */
0011 
0012 
0013 /**
0014  Problem: how to handle bool data type when the
0015  CC compiler doesn't know it?.
0016  Tricky example:
0017  Irix6: on R10000 CC has it built in, but if
0018  compiled with -o32 it is not there.
0019  In addition STL defines a bool that will give
0020  a conflict if you define it by hand.
0021 
0022 
0023  @author M.Purschke, C.Witzig \\
0024  {\bf Date: } April 8, 98 \\
0025 
0026  @version Last update April 8, 98
0027 
0028 */
0029 
0030 
0031 #ifndef BOOL
0032 #define BOOL int
0033 #define true 1
0034 #define false  0
0035 #endif
0036 
0037 
0038 #endif
0039 
0040 
0041