(BOOL): Define BOOL as int for VxWorks.
From-SVN: r12827
This commit is contained in:
parent
3c34d513e6
commit
1ebf4f3910
@ -36,7 +36,11 @@ extern "C" {
|
||||
/*
|
||||
** Definition of the boolean type.
|
||||
*/
|
||||
#ifdef __vxworks
|
||||
typedef int BOOL;
|
||||
#else
|
||||
typedef unsigned char BOOL;
|
||||
#endif
|
||||
#define YES (BOOL)1
|
||||
#define NO (BOOL)0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user