diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-09 17:32:53 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-09 17:32:53 +0100 |
commit | 95f1eb9b87064719c17d45f24775c3e97497b6df (patch) | |
tree | f97d1cfd5483cda79fe10b1c71bcf21d8ae290d4 /kernel/log.cc | |
parent | bd3dd8052665f4f8a27a90dc745c1fca1b6da98f (diff) | |
download | yosys-95f1eb9b87064719c17d45f24775c3e97497b6df.tar.gz yosys-95f1eb9b87064719c17d45f24775c3e97497b6df.tar.bz2 yosys-95f1eb9b87064719c17d45f24775c3e97497b6df.zip |
Only enable code coverage counters on linux
Diffstat (limited to 'kernel/log.cc')
-rw-r--r-- | kernel/log.cc | 2 |
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; |