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/list.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/list.c')
-rw-r--r-- | tests/list.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/list.c b/tests/list.c index 820fbe4..b3d74a1 100644 --- a/tests/list.c +++ b/tests/list.c @@ -1,11 +1,10 @@ // Copyright © Tavian Barnes <tavianator@tavianator.com> // SPDX-License-Identifier: 0BSD -#include "prelude.h" +#include "tests.h" #include "bfs.h" #include "list.h" -#include "tests.h" struct item { int n; |