3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Add "#ifdef __FreeBSD__"

This commit is contained in:
Johnny Sorocil 2018-05-05 13:02:44 +02:00 committed by Clifford Wolf
parent 145c685de0
commit e3575a86c5
5 changed files with 52 additions and 9 deletions

View file

@ -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)