defined bool type if it is not defined
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 16 Dec 2005 04:19:59 +0000 (04:19 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 16 Dec 2005 04:19:59 +0000 (04:19 +0000)
src/conv-core/converse.h

index a7a4bd07c40f499a2e5453d99d340ae2765e6b27..1d8814386452821dcdb44b7b5837af611f96a594 100644 (file)
@@ -66,6 +66,7 @@
 
 #if ! CMK_BOOL_DEFINED
 enum CmiBool {CmiFalse=0, CmiTrue=1};
+typedef enum {false = 0, true = 1} bool;
 #else
 typedef bool CmiBool;
 #define CmiFalse false