bool is defined as _Bool on Mac OS X now.
+Thu Mar 31 22:34:22 CEST 2005 Patrik Weiskircher <pat@icore.at>
+
+ * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
+ Affected file: includes/silcincludes.h.in
+
+ * bool is defined as _Bool on Mac OS X now.
+ Affected file: lib/silcutil/silctypes.h
+
Thu Mar 31 08:52:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
* Added support for UTF-8 nicknames, channel names and
#endif
#endif
+#if defined(__MACH__) && defined(__APPLE__)
+#ifndef SILC_MACOSX
+#define SILC_MACOSX
+#endif
+#endif
+
/* Types */
#define SILC_SIZEOF_LONG_LONG @SILC_SIZEOF_LONG_LONG@
#define SILC_SIZEOF_LONG @SILC_SIZEOF_LONG@
*
* SOURCE
*/
+#ifdef SILC_MACOSX
+#define bool _Bool
+#endif
+
#ifndef __cplusplus
#ifndef bool
#define bool unsigned char