diff options
author | Lenard Mollenkopf <glibc@lenardmollenkopf.de> | 2024-10-22 15:17:54 +0200 |
---|---|---|
committer | Joseph Myers <josmyers@redhat.com> | 2024-11-04 22:40:55 +0000 |
commit | e442e8376dcb14c904523c78994157cb5b502ff1 (patch) | |
tree | f14f7bbecd2c80b7614022a048d371ccc62ca38d /gnulib | |
parent | 2843e78b30da0aa743fdfb0ac61435c925182c04 (diff) | |
download | glibc-e442e8376dcb14c904523c78994157cb5b502ff1.zip glibc-e442e8376dcb14c904523c78994157cb5b502ff1.tar.gz glibc-e442e8376dcb14c904523c78994157cb5b502ff1.tar.bz2 |
Add feature test macro _ISOC2Y_SOURCE
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 'gnulib')
0 files changed, 0 insertions, 0 deletions