From 1d7cd873dff0ee54aa41434c8b001a5cd467dc3c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 3 Sep 2025 20:40:18 +0900 Subject: feat: add --std=c23 --- src/common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index 4bd4c17..332b61d 100644 --- a/src/common.h +++ b/src/common.h @@ -5,7 +5,11 @@ _Noreturn void fatal_error(const char* msg, ...); +// TODO +#ifdef __ducc__ #define unreachable() fatal_error("%s:%d: unreachable", __FILE__, __LINE__) +#endif + #define unimplemented() fatal_error("%s:%d: unimplemented", __FILE__, __LINE__) bool str_ends_with(const char* s, const char* suffix); -- cgit v1.2.3-70-g09d2