Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102631096
D47574.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
472 B
Referenced Files
None
Subscribers
None
D47574.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
@@ -515,7 +515,11 @@
/* Deal with various X/Open Portability Guides and Single UNIX Spec. */
#ifdef _XOPEN_SOURCE
-#if _XOPEN_SOURCE - 0 >= 700
+#if _XOPEN_SOURCE - 0 >= 800
+#define __XSI_VISIBLE 800
+#undef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 202405
+#elif _XOPEN_SOURCE - 0 >= 700
#define __XSI_VISIBLE 700
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 2:02 AM (20 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14646777
Default Alt Text
D47574.diff (472 B)
Attached To
Mode
D47574: cdefs: Allow _XOPEN_SOURCE >= 800
Attached
Detach File
Event Timeline
Log In to Comment