3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Only enable code coverage counters on linux

This commit is contained in:
Clifford Wolf 2015-01-09 17:32:53 +01:00
parent bd3dd80526
commit 95f1eb9b87
4 changed files with 6 additions and 6 deletions

View file

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