Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152589884
D53986.id167279.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
543 B
Referenced Files
None
Subscribers
None
D53986.id167279.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,7 +161,10 @@
typedef int __cpusetid_t; /* cpuset identifier. */
typedef __int64_t __daddr_t; /* bwrite(3), FIOBMAP2, etc */
-#if !defined(__has_feature) || !__has_feature(capabilities)
+#ifndef __has_feature
+#define __has_feature(x) 0
+#endif
+#if !__has_feature(capabilities)
/*
* 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
Thu, Apr 16, 8:47 PM (1 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31538016
Default Alt Text
D53986.id167279.diff (543 B)
Attached To
Mode
D53986: sys/_types.h: Actually unbreak gcc build
Attached
Detach File
Event Timeline
Log In to Comment