changeset 12:83f7c71e4772

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 29 Oct 2010 13:47:57 +0300
parents e467b3586e4d
children adcbcac66125
files th_types.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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