source:
trunk/Softwares/Global.or32/include/bool.h
@
78
| Last change on this file since 78 was 2, checked in by , 19 years ago | |
|---|---|
| File size: 315 bytes | |
| Rev | Line | |
|---|---|---|
| [2] | 1 | #ifndef BOOL_H |
| 2 | #define BOOL_H | |
| 3 | ||
| 4 | // typedef enum{false,true} bool; | |
| 5 | ||
| 6 | #ifndef BOOL | |
| 7 | #define BOOL int | |
| 8 | #endif | |
| 9 | ||
| 10 | #ifndef bool | |
| 11 | #define bool int | |
| 12 | #endif | |
| 13 | ||
| 14 | #ifndef false | |
| 15 | #define false 0 | |
| 16 | #endif | |
| 17 | ||
| 18 | #ifndef FALSE | |
| 19 | #define FALSE 0 | |
| 20 | #endif | |
| 21 | ||
| 22 | #ifndef TRUE | |
| 23 | #define TRUE 1 | |
| 24 | #endif | |
| 25 | ||
| 26 | #ifndef true | |
| 27 | #define true 1 | |
| 28 | #endif | |
| 29 | ||
| 30 | #endif //!BOOL_H |
Note: See TracBrowser
for help on using the repository browser.
