diff options
author | Samuel Pocino <43758828+spocino@users.noreply.github.com> | 2023-08-12 03:16:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-12 09:16:38 +0200 |
commit | 75ac809d3aa7ba997ebe6ea3dfe7ad46d6621217 (patch) | |
tree | a37af77608a3e9c49b46040285aba1875620a4d8 | |
parent | a96948fbaef74181055d407aacc0a6a532bff97a (diff) |
stdc: create stdbool.h
low hanging fruit ig
-rw-r--r-- | sources/libs/stdc-ansi/stdbool.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sources/libs/stdc-ansi/stdbool.h b/sources/libs/stdc-ansi/stdbool.h new file mode 100644 index 00000000..3931b7f6 --- /dev/null +++ b/sources/libs/stdc-ansi/stdbool.h @@ -0,0 +1,11 @@ +#pragma once + +#ifndef __cplusplus + +#define true 1 +#define false 0 +#define bool _Bool + +#endif // __cplusplus + +#define __bool_true_false_are_defined 1 |