diff options
author | Johnny Sorocil <propaliidealist@gmail.com> | 2018-05-05 13:02:44 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-05-05 13:02:44 +0200 |
commit | e3575a86c525f2511902e7022893c3923ba8093e (patch) | |
tree | 0c0a7c7578fcc9c220a2b3c29f6c5dcaccda3e98 /passes | |
parent | 145c685de03a0b5f70a3aa821ea1bd221c31d993 (diff) | |
download | yosys-e3575a86c525f2511902e7022893c3923ba8093e.tar.gz yosys-e3575a86c525f2511902e7022893c3923ba8093e.tar.bz2 yosys-e3575a86c525f2511902e7022893c3923ba8093e.zip |
Add "#ifdef __FreeBSD__"
Diffstat (limited to 'passes')
-rw-r--r-- | passes/cmds/cover.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) |