aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-18 09:07:55 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-18 09:07:55 +0100
commit5f832714d383497618a9305a70d47a0da0922c6c (patch)
treea9ceb5db431f771fab70848b2f56af754721b462 /make.c
parentbcda8465441452f9b55eba2c74acfb87321f2a13 (diff)
Simplify code using libcompat
Diffstat (limited to 'make.c')
-rw-r--r--make.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/make.c b/make.c
index 81b6134..7214fc2 100644
--- a/make.c
+++ b/make.c
@@ -1,12 +1,12 @@
#include <errno.h>
#include <limits.h>
-#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "cbs.h"
+#include "src/compat.h"
#define CC "cc"
#define CFLAGS "-Wall", "-Wextra", "-Wpedantic", "-Werror", "-pipe"
@@ -85,9 +85,6 @@ main(int argc, char **argv)
cmdadd(&c, CC, CFLAGS);
cmdadd(&c, buf);
-#ifdef CBS_IS_C23
- cmdadd(&c, "-DGRAB_IS_C23=1");
-#endif
if (pflag)
cmdadd(&c, "-DGRAB_DO_PCRE=1", "-lpcre2-posix");
if (debug)