comparison th_types.h @ 101:7eaf065f7a65

Updated.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 11 Oct 2010 15:47:48 +0300
parents 69aed051f84d
children
comparison
equal deleted inserted replaced
100:ed4067c10a8a 101:7eaf065f7a65
87 typedef char char_t; 87 typedef char char_t;
88 88
89 89
90 /* Define a boolean type 90 /* Define a boolean type
91 */ 91 */
92 #if ((!defined(FALSE)) && (!defined(TRUE)) && (!defined(BOOL))) 92 #if !defined(FALSE) && !defined(TRUE) && !defined(BOOL)
93 typedef enum { FALSE=0, TRUE=1 } BOOL; 93 typedef enum { FALSE = 0, TRUE = 1 } BOOL;
94 #endif 94 #endif
95 95
96 #ifndef BOOL 96 #ifndef BOOL
97 #ifdef bool 97 #ifdef bool
98 #define BOOL bool 98 #define BOOL bool