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
     1.1 --- a/ucx/ucx.h	Wed Oct 10 14:18:06 2012 +0200
     1.2 +++ b/ucx/ucx.h	Wed Oct 10 14:26:53 2012 +0200
     1.3 @@ -11,6 +11,9 @@
     1.4  #include <stdlib.h>
     1.5  
     1.6  #ifdef	__cplusplus
     1.7 +#ifndef _Bool
     1.8 +#define _Bool bool
     1.9 +#endif
    1.10  extern "C" {
    1.11  #endif
    1.12  

mercurial