From 294b585994da4427ac98a8353ff41aed5f301d54 Mon Sep 17 00:00:00 2001 From: pk33 Date: Fri, 1 Nov 2024 23:51:15 +0100 Subject: Import and fix old code --- include/musl/stdbool.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/musl/stdbool.h (limited to 'include/musl/stdbool.h') diff --git a/include/musl/stdbool.h b/include/musl/stdbool.h new file mode 100644 index 0000000..a9d7ab7 --- /dev/null +++ b/include/musl/stdbool.h @@ -0,0 +1,14 @@ +#ifndef _STDBOOL_H +#define _STDBOOL_H + +#ifndef __cplusplus + +#define true 1 +#define false 0 +#define bool _Bool + +#endif + +#define __bool_true_false_are_defined 1 + +#endif -- cgit v1.2.3