1 // custom stdbool.h to for 1-byte bool types
\r
2 #ifndef __CST_STDBOOL_H__
\r
3 #define __CST_STDBOOL_H__
\r
5 #ifndef __cplusplus // C++ already has the bool-type
\r
7 // the MS VC++ 6 compiler uses a one-byte-type (unsigned char, to be exact), so I'll reproduce this here
\r
8 typedef unsigned char bool;
\r
13 #endif // ! __cplusplus
\r
15 #endif // ! __CST_STDBOOL_H__
\r