added _Bool macro for cplusplus

Wed, 10 Oct 2012 14:26:53 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 10 Oct 2012 14:26:53 +0200
changeset 65
7b2f2cab6348
parent 64
16590c9c497c
child 66
fcfe8c5e9fe1

added _Bool macro for cplusplus

ucx/ucx.h file | annotate | diff | comparison | revisions
--- a/ucx/ucx.h	Wed Oct 10 14:18:06 2012 +0200
+++ b/ucx/ucx.h	Wed Oct 10 14:26:53 2012 +0200
@@ -11,6 +11,9 @@
 #include <stdlib.h>
 
 #ifdef	__cplusplus
+#ifndef _Bool
+#define _Bool bool
+#endif
 extern "C" {
 #endif
 

mercurial