Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141942015
D54009.id168103.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
509 B
Referenced Files
None
Subscribers
None
D54009.id168103.diff
View Options
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -161,10 +161,7 @@
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 14, 6:37 PM (12 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27018400
Default Alt Text
D54009.id168103.diff (509 B)
Attached To
Mode
D54009: sys/_types.h: avoid use of __has_feature()
Attached
Detach File
Event Timeline
Log In to Comment