diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-08-28 10:53:10 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-08-28 17:33:20 -0400 |
commit | b3636fa8864913413455a050c5425447c9e98bc0 (patch) | |
tree | 4ade291bf5652e9e27535602b11edff5a78d08b8 /tests/bit.c | |
parent | d1febdd40faf2f66a901c42377a6b6efaad1449c (diff) | |
download | bfs-b3636fa8864913413455a050c5425447c9e98bc0.tar.xz |
build: Move feature test macros to prelude.h
This replaces the explicit CPPFLAGS list in flags.mk with just
`-include src/prelude.h`, shortening our compiler command lines and
allowing them to be easily documented.
Diffstat (limited to 'tests/bit.c')
-rw-r--r-- | tests/bit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/bit.c b/tests/bit.c index 854398c..1446b13 100644 --- a/tests/bit.c +++ b/tests/bit.c @@ -1,12 +1,11 @@ // Copyright © Tavian Barnes <tavianator@tavianator.com> // SPDX-License-Identifier: 0BSD -#include "prelude.h" +#include "tests.h" #include "bfs.h" #include "bit.h" #include "diag.h" -#include "tests.h" #include <limits.h> #include <stdint.h> |