aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-02-03 01:03:25 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-02-03 01:03:25 +0100
commit6944944b596914b9383471deaa6b8f0607494b06 (patch)
tree142426753b7540b0c97d00a44bbae24b3011765a /make.c
parent372d90c6758ea9351374b558fed7103879f9886d (diff)
Error if __STDC_VERSION__ < 202000L
Diffstat (limited to 'make.c')
-rw-r--r--make.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/make.c b/make.c
index 79cfdb3..266b150 100644
--- a/make.c
+++ b/make.c
@@ -1,3 +1,7 @@
+#if __STDC_VERSION__ < 202000L
+# error "C23 is required to build"
+#endif
+
#define _GNU_SOURCE
#include <errno.h>
#include <getopt.h>