Mercurial > hg > th-libs
diff th_types.h @ 12:83f7c71e4772
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 29 Oct 2010 13:47:57 +0300 |
parents | a25f5d22483e |
children | 34d58b0f2d52 |
line wrap: on
line diff
--- a/th_types.h Fri Jan 01 05:43:28 2010 +0200 +++ b/th_types.h Fri Oct 29 13:47:57 2010 +0300 @@ -89,8 +89,8 @@ /* Define a boolean type */ -#if ((!defined(FALSE)) && (!defined(TRUE)) && (!defined(BOOL))) -typedef enum { FALSE=0, TRUE=1 } BOOL; +#if !defined(FALSE) && !defined(TRUE) && !defined(BOOL) +typedef enum { FALSE = 0, TRUE = 1 } BOOL; #endif #ifndef BOOL