gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 36f34ae66dd437bbf01377ae2441bb99c605ce98 parent da0ab904a105ccab70010156eeaf421671ff0134 Author: Toxa <untoxa@mail.ru> Date: Thu, 9 Dec 2021 23:14:19 +0300 rollback conditional definition of bool Diffstat:
| M | gbdk-lib/include/stdbool.h | 8 | -------- |
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/gbdk-lib/include/stdbool.h b/gbdk-lib/include/stdbool.h @@ -29,19 +29,11 @@ #ifndef __SDC51_STDBOOL_H #define __SDC51_STDBOOL_H 1 -#ifdef __SDCC /* Define true and false of type _Bool in a way compatible with the preprocessor (see N 2229 for details). */ #define true ((_Bool)+1) #define false ((_Bool)+0) #define bool _Bool -#else -#define true 1 -#define false 0 - -#define bool unsigned char -#endif - #define __bool_true_false_are_defined 1 #endif
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.