Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102638555
D47577.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
520 B
Referenced Files
None
Subscribers
None
D47577.diff
View Options
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -616,6 +616,12 @@
#define __BSD_VISIBLE 0
#define __ISO_C_VISIBLE 2011
#define __EXT1_VISIBLE 0
+#elif defined(_C23_SOURCE) /* Localism to specify strict C23 env. */
+#define __POSIX_VISIBLE 0
+#define __XSI_VISIBLE 0
+#define __BSD_VISIBLE 0
+#define __ISO_C_VISIBLE 2023
+#define __EXT1_VISIBLE 0
#else /* Default environment: show everything. */
#define __POSIX_VISIBLE 200809
#define __XSI_VISIBLE 700
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 4:33 AM (18 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14651220
Default Alt Text
D47577.diff (520 B)
Attached To
Mode
D47577: cdefs: Add FreeBSD _C23_SOURCE extension
Attached
Detach File
Event Timeline
Log In to Comment