summaryrefslogtreecommitdiff
path: root/src/ui/tui.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2024-08-29 03:35:10 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2024-08-29 03:35:10 +0330
commit779c9d9d0fc2c20ec6a4e622a2ce5d6c0810c3e0 (patch)
treecd90e8651774f80a254d66f2f7ae2154c9b0b5aa /src/ui/tui.h
parent555c98cb9bfc95a05a956b1be10cd2fea4afb677 (diff)
moved stuff to c23
Diffstat (limited to 'src/ui/tui.h')
-rw-r--r--src/ui/tui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/tui.h b/src/ui/tui.h
index d351d5c..bda1d65 100644
--- a/src/ui/tui.h
+++ b/src/ui/tui.h
@@ -28,9 +28,12 @@ typedef struct MOUSE_ACTION {
typedef void (*ON_CLICK_CALLBACK)(const MOUSE_ACTION *mouse_action);
+
#ifndef __cplusplus
+#if (__STDC_VERSION__ < 202000L)
typedef enum bool : uint8_t { false = 0, true = 1 } bool;
#endif
+#endif
typedef enum COLOR {
COLOR_NO_COLOR = -1,