Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160464621
D44666.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D44666.id.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
@@ -297,9 +297,11 @@
#if defined(_KERNEL) || defined(_STANDALONE)
#if !defined(__bool_true_false_are_defined) && !defined(__cplusplus)
#define __bool_true_false_are_defined 1
+#if __STDC_VERSION__ < 202311L
#define false 0
#define true 1
typedef _Bool bool;
+#endif /* __STDC_VERSION__ < 202311L */
#endif /* !__bool_true_false_are_defined && !__cplusplus */
#endif /* KERNEL || _STANDALONE */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 25, 6:48 PM (12 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34299869
Default Alt Text
D44666.id.diff (496 B)
Attached To
Mode
D44666: sys/types.h: Do not define bool macros for C23 and later
Attached
Detach File
Event Timeline
Log In to Comment