From c1ecb1b2f1427e5d8616c9177c6962ebf1449a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kr=C3=A4mer?= Date: Sat, 5 May 2018 13:02:44 +0200 Subject: Add "#ifdef __FreeBSD__" (Re-commit e3575a8 with corrected author field) --- passes/cmds/cover.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'passes') diff --git a/passes/cmds/cover.cc b/passes/cmds/cover.cc index 1475475c3..ef4f3f7d0 100644 --- a/passes/cmds/cover.cc +++ b/passes/cmds/cover.cc @@ -128,7 +128,7 @@ struct CoverPass : public Pass { log("\n"); } -#if defined(YOSYS_ENABLE_COVER) && defined(__linux__) +#if defined(YOSYS_ENABLE_COVER) && (defined(__linux__) || defined(__FreeBSD__)) for (auto &it : get_coverage_data()) { if (!patterns.empty()) { for (auto &p : patterns) -- cgit v1.2.3