aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/log.cc')
-rw-r--r--kernel/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/log.cc b/kernel/log.cc
index 70bff8f5b..401dbeeb0 100644
--- a/kernel/log.cc
+++ b/kernel/log.cc
@@ -402,7 +402,7 @@ void log_cell(RTLIL::Cell *cell, std::string indent)
// ---------------------------------------------------
// This is the magic behind the code coverage counters
// ---------------------------------------------------
-#ifdef YOSYS_ENABLE_COVER
+#if defined(YOSYS_ENABLE_COVER) && defined(__linux__)
dict<std::string, std::pair<std::string, int>> extra_coverage_data;