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

Revert "Add "#ifdef __FreeBSD__""

This reverts commit e3575a86c5.
This commit is contained in:
Clifford Wolf 2018-05-13 13:06:36 +02:00
parent 7d076f071e
commit 1167538d26
5 changed files with 9 additions and 52 deletions

View file

@ -114,7 +114,7 @@ static inline void log_assert_worker(bool cond, const char *expr, const char *fi
// This is the magic behind the code coverage counters
// ---------------------------------------------------
#if defined(YOSYS_ENABLE_COVER) && (defined(__linux__) || defined(__FreeBSD__))
#if defined(YOSYS_ENABLE_COVER) && defined(__linux__)
#define cover(_id) do { \
static CoverData __d __attribute__((section("yosys_cover_list"), aligned(1), used)) = { __FILE__, __FUNCTION__, _id, __LINE__, 0 }; \