# HG changeset patch # User Mike Becker # Date 1349872013 -7200 # Node ID 7b2f2cab6348bcc20456a00542913895a943580e # Parent 16590c9c497c167dad2466786957245481093879 added _Bool macro for cplusplus diff -r 16590c9c497c -r 7b2f2cab6348 ucx/ucx.h --- 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 #ifdef __cplusplus +#ifndef _Bool +#define _Bool bool +#endif extern "C" { #endif