1 /* $Id: bool.h 155282 2014-12-12 19:42:54Z twu $ */ 2 #ifndef BOOL_INCLUDED 3 #define BOOL_INCLUDED 4 5 /* typedef enum{false,true} bool; */ 6 7 typedef unsigned char bool; 8 #ifdef USE_MPI 9 #define MPI_BOOL_T MPI_UNSIGNED_CHAR 10 #endif 11 12 #define false 0 13 #define true 1 14 15 16 17 #endif 18