diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-01-18 09:07:55 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-01-18 09:07:55 +0100 |
commit | 5f832714d383497618a9305a70d47a0da0922c6c (patch) | |
tree | a9ceb5db431f771fab70848b2f56af754721b462 /make.c | |
parent | bcda8465441452f9b55eba2c74acfb87321f2a13 (diff) |
Simplify code using libcompat
Diffstat (limited to 'make.c')
-rw-r--r-- | make.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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) |