precaution to prevent double typedefs of the bool
This commit is contained in:
@@ -66,7 +66,7 @@
|
|||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(__cplusplus) && !defined(__BEOS__)
|
#if !defined(__cplusplus) && !defined(__BEOS__) && !defined(typedef_bool)
|
||||||
typedef unsigned char bool;
|
typedef unsigned char bool;
|
||||||
#define typedef_bool
|
#define typedef_bool
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -69,10 +69,9 @@
|
|||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#if !defined(__cplusplus) && !defined(__BEOS__) && !defined(typedef_bool)
|
||||||
#ifndef typedef_bool
|
|
||||||
typedef char bool;
|
typedef char bool;
|
||||||
#endif
|
#define typedef_bool
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef OS
|
#ifndef OS
|
||||||
|
|||||||
Reference in New Issue
Block a user