summaryrefslogtreecommitdiffstats
path: root/tests/bit.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-08-28 10:53:10 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-08-28 17:33:20 -0400
commitb3636fa8864913413455a050c5425447c9e98bc0 (patch)
tree4ade291bf5652e9e27535602b11edff5a78d08b8 /tests/bit.c
parentd1febdd40faf2f66a901c42377a6b6efaad1449c (diff)
downloadbfs-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.c3
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>