summaryrefslogtreecommitdiffstats
path: root/src/prelude.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prelude.h')
-rw-r--r--src/prelude.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/prelude.h b/src/prelude.h
index f4ec40f..51f1505 100644
--- a/src/prelude.h
+++ b/src/prelude.h
@@ -80,6 +80,11 @@
/** Part of <threads.h>, but we don't use anything else from it. */
#define thread_local _Thread_local
+/** Get the type of an expression. */
+#define typeof __typeof__
+/** Get the unqualified type of an expression. */
+#define typeof_unqual __typeof_unqual__
+
#endif // !C23
// Future C standard backports