diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-02-03 01:03:25 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-02-03 01:03:25 +0100 |
commit | 6944944b596914b9383471deaa6b8f0607494b06 (patch) | |
tree | 142426753b7540b0c97d00a44bbae24b3011765a | |
parent | 372d90c6758ea9351374b558fed7103879f9886d (diff) |
Error if __STDC_VERSION__ < 202000L
-rw-r--r-- | make.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,7 @@ +#if __STDC_VERSION__ < 202000L +# error "C23 is required to build" +#endif + #define _GNU_SOURCE #include <errno.h> #include <getopt.h> |