about summary refs log tree commit diff
path: root/support/bundled/linux/LICENSES/exceptions/Linux-syscall-note
diff options
context:
space:
mode:
authorLenard Mollenkopf <glibc@lenardmollenkopf.de>2024-10-22 15:17:54 +0200
committerJoseph Myers <josmyers@redhat.com>2024-11-04 22:40:55 +0000
commite442e8376dcb14c904523c78994157cb5b502ff1 (patch)
treef14f7bbecd2c80b7614022a048d371ccc62ca38d /support/bundled/linux/LICENSES/exceptions/Linux-syscall-note
parent2843e78b30da0aa743fdfb0ac61435c925182c04 (diff)
downloadglibc-master.tar.gz
glibc-master.tar.xz
glibc-master.zip
Add feature test macro _ISOC2Y_SOURCE HEAD master
This patch starts preparation for C2Y support in glibc headers by
adding a feature test macro _ISOC2Y_SOURCE and corresponding
__GLIBC_USE (ISOC2Y). (I mostly copied the work of Joseph Myers
for C2X). As with other such macros, C2Y features are also
enabled by compiling for a standard newer than C23, or by using
_GNU_SOURCE.

This patch does not itself enable anything new in the headers for C2Y;
that is to be done in followup patches. (For example an implementation
of WG14 N3349.)

Once C2Y becomes an actual standard we'll presumably move to using the
actual year in the feature test macro and __GLIBC_USE, with some
period when both macro spellings are accepted, as was done with
_ISOC2X_SOURCE.

Tested for x86_64.

Signed-off-by: Lenard Mollenkopf <glibc@lenardmollenkopf.de>
Diffstat (limited to 'support/bundled/linux/LICENSES/exceptions/Linux-syscall-note')
0 files changed, 0 insertions, 0 deletions