(BOOL): Define BOOL as int for VxWorks.

From-SVN: r12827
This commit is contained in:
Richard Kenner 1996-09-23 22:45:12 -04:00
parent 3c34d513e6
commit 1ebf4f3910
1 changed files with 4 additions and 0 deletions

View File

@ -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