X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=includes%2Fsilcincludes.h;h=d793c4b3efd06370733d8fd30634f89a0dd0dc97;hb=72cfa31520ebc0058763a30e21c13f6e9a964aa0;hp=4fd2d575ba27c2e4109ded0047b127087c520efa;hpb=2be0be2432fff760084c4093291e79f1fa6262d8;p=silc.git diff --git a/includes/silcincludes.h b/includes/silcincludes.h index 4fd2d575..d793c4b3 100644 --- a/includes/silcincludes.h +++ b/includes/silcincludes.h @@ -137,7 +137,6 @@ #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"