OSDN Git Service

no idea how to get joy buttons 2 and 3 to function.
[proj16/16.git] / src / lib / vgmsnd / stdbool.h
1 // custom stdbool.h to for 1-byte bool types\r
2 #ifndef __CST_STDBOOL_H__\r
3 #define __CST_STDBOOL_H__\r
4 \r
5 #ifndef __cplusplus     // C++ already has the bool-type\r
6 \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
9 \r
10 #define false   0x00\r
11 #define true    0x01\r
12 \r
13 #endif // ! __cplusplus\r
14 \r
15 #endif // ! __CST_STDBOOL_H__\r