diff options
Diffstat (limited to 'include/bool.h')
-rw-r--r-- | include/bool.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/bool.h b/include/bool.h new file mode 100644 index 0000000..c8cf406 --- /dev/null +++ b/include/bool.h @@ -0,0 +1,23 @@ +/* + * + * Copyright (c) 1994 + * Hewlett-Packard Company + * + * Permission to use, copy, modify, distribute and sell this software + * and its documentation for any purpose is hereby granted without fee, + * provided that the above copyright notice appear in all copies and + * that both that copyright notice and this permission notice appear + * in supporting documentation. Hewlett-Packard Company makes no + * representations about the suitability of this software for any + * purpose. It is provided "as is" without express or implied warranty. + * + */ + +// most systems should have bool defined now (Sun CC 5.0, g++), it is in the +// ANSI standard. + +#ifdef OS_HPUX_10 +#define bool int +#endif +#define true 1 +#define false 0 |