updates. New data types.
[silc.git] / includes / silcincludes.h
index 4fd2d575ba27c2e4109ded0047b127087c520efa..d793c4b3efd06370733d8fd30634f89a0dd0dc97 100644 (file)
 #undef int16
 #undef int32
 #undef int64
-#undef bool
 
 typedef unsigned char uint8;
 typedef signed char int8;
@@ -181,7 +180,9 @@ typedef int32 int64;
 typedef uint32 * void *;
 #endif
 
-typedef unsigned char bool;
+#ifndef bool
+#define bool unsigned char
+#endif
 
 /* Generic global SILC includes */
 #include "bitmove.h"