aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2026-01-09 14:41:21 +0000
committerBrooks Davis <brooks@FreeBSD.org>2026-01-09 14:42:00 +0000
commit0a64d16cef172bd3c809a8dc9035cd7d981b2951 (patch)
tree06486077be81798a042403cc826b29084e27b225
parent31e7dc6b9a000b02353bfc41cbd897533287cda2 (diff)
-rw-r--r--sys/sys/_types.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index 2e622090e81d..a2ee83a862da 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -161,10 +161,7 @@ typedef int __cpulevel_t; /* level parameter for cpuset. */
typedef int __cpusetid_t; /* cpuset identifier. */
typedef __int64_t __daddr_t; /* bwrite(3), FIOBMAP2, etc */
-#ifndef __has_feature
-#define __has_feature(x) 0
-#endif
-#if !__has_feature(capabilities)
+#ifndef __SIZEOF_INTCAP__
/*
* On non-CHERI systems, define __(u)intcap_t to __(u)intptr_t so that
* hybrid-C code which needs to be explicitly aware of capabilities can