From badbbeee6945ebd6ec1d1a897aad860b2decefe9 Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Mon, 21 Jan 2019 11:23:19 +0100 Subject: pkg/host: enable FeatureComparisons on OpenBSD --- executor/executor_bsd.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'executor') diff --git a/executor/executor_bsd.h b/executor/executor_bsd.h index 3af57fa5b..15ac8aad2 100644 --- a/executor/executor_bsd.h +++ b/executor/executor_bsd.h @@ -38,22 +38,12 @@ static long execute_syscall(const call_t* c, long a[kMaxArgs]) return __syscall(c->sys_nr, a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); } -#if GOOS_freebsd - -// KCOV support was added in https://svnweb.freebsd.org/changeset/base/342962 -#include - -#elif GOOS_openbsd +#if GOOS_freebsd || GOOS_openbsd -// TODO(mptre): temporary defined until trace-cmp is fully supported -#define KCOV_MODE_TRACE_CMP 2 +// KCOV support was added to FreeBSD in https://svnweb.freebsd.org/changeset/base/342962 #include -#endif - -#if GOOS_freebsd || GOOS_openbsd - static void cover_open(cover_t* cov, bool extra) { int fd = open("/dev/kcov", O_RDWR); -- cgit mrf-deployment