summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Pocino <43758828+spocino@users.noreply.github.com>2023-08-12 03:16:38 -0400
committerGitHub <noreply@github.com>2023-08-12 09:16:38 +0200
commit75ac809d3aa7ba997ebe6ea3dfe7ad46d6621217 (patch)
treea37af77608a3e9c49b46040285aba1875620a4d8
parenta96948fbaef74181055d407aacc0a6a532bff97a (diff)
stdc: create stdbool.h
low hanging fruit ig
-rw-r--r--sources/libs/stdc-ansi/stdbool.h11
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