diff --git a/cde/programs/dtprintinfo/libUI/BaseUI.h b/cde/programs/dtprintinfo/libUI/BaseUI.h index 0a83a9f8e..66e0aff56 100644 --- a/cde/programs/dtprintinfo/libUI/BaseUI.h +++ b/cde/programs/dtprintinfo/libUI/BaseUI.h @@ -40,10 +40,13 @@ #define boolean boolean_t #define true B_TRUE #define false B_FALSE -#elif defined(linux) || defined(CSRG_BASED) +#elif defined(linux) #define false 0 - #define true 0 + #define true 1 #define boolean int +#elif defined(CSRG_BASED) +#include +#define boolean bool #else typedef enum { diff --git a/cde/programs/dtprintinfo/objects/BaseObj.h b/cde/programs/dtprintinfo/objects/BaseObj.h index 7925eec86..c85cd0355 100644 --- a/cde/programs/dtprintinfo/objects/BaseObj.h +++ b/cde/programs/dtprintinfo/objects/BaseObj.h @@ -41,10 +41,13 @@ #define boolean boolean_t #define true B_TRUE #define false B_FALSE -#elif defined(linux) || defined(CSRG_BASED) +#elif defined(linux) #define false 0 - #define true 0 + #define true 1 #define boolean int +#elif defined(CSRG_BASED) +#include +#define boolean bool #else typedef enum {