git: 5198178f3eb6 - main - cdefs.h: Add POSIX.1-2024 values
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Jun 2024 22:40:08 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=5198178f3eb6f9d1eae68adf00ac4aef62b2bb1d
commit 5198178f3eb6f9d1eae68adf00ac4aef62b2bb1d
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-06-14 21:06:53 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-06-14 22:38:55 +0000
cdefs.h: Add POSIX.1-2024 values
Sponsored by: Netflix
---
sys/sys/cdefs.h | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index c3268791787f..476c89d1dddb 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -639,10 +639,13 @@
* and the omnibus ISO/IEC 9945-1: 1996
* (1003.1 Issue 5, Single Unix Spec v2, Unix 95)
* _POSIX_C_SOURCE == 200112 1003.1-2001 (1003.1 Issue 6, Unix 03)
+ * with _XOPEN_SOURCE=600
* _POSIX_C_SOURCE == 200809 1003.1-2008 (1003.1 Issue 7)
* IEEE Std 1003.1-2017 (Rev of 1003.1-2008) is
- * 1003.1-2008 with two TCs applied with
- * _POSIX_C_SOURCE=200809 and _XOPEN_SOURCE=700
+ * 1003.1-2008 with two TCs applied and
+ * _XOPEN_SOURCE=700
+ * _POSIX_C_SOURCE == 202405 1003.1-2004 (1003.1 Issue 8), IEEE Std 1003.1-2024
+ * with _XOPEN_SOURCE=800
*
* In addition, the X/Open Portability Guide, which is now the Single UNIX
* Specification, defines a feature-test macro which indicates the version of