diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-01-11 17:47:17 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-01-11 18:36:36 +0000 |
commit | 8b35f02ed599a70cce752e3cb544a7c9f808fce8 (patch) | |
tree | 66ab99f70f0542c3ad46536c0cbceebc3cb35377 /libstdc++-v3/include/std/version | |
parent | 820ac79e8448ad6c631e1387ba51a93dcf2b4e89 (diff) | |
download | gcc-8b35f02ed599a70cce752e3cb544a7c9f808fce8.zip gcc-8b35f02ed599a70cce752e3cb544a7c9f808fce8.tar.gz gcc-8b35f02ed599a70cce752e3cb544a7c9f808fce8.tar.bz2 |
libstdc++: Install <source_location> header for freestanding [PR103726]
This C++20 header is also supposed to be present for freestanding.
libstdc++-v3/ChangeLog:
PR libstdc++/103726
* include/Makefile.am: Install <source_location> for
freestanding.
* include/Makefile.in: Regenerate.
* include/std/version (__cpp_lib_source_location): Define for
freestanding.
Diffstat (limited to 'libstdc++-v3/include/std/version')
-rw-r--r-- | libstdc++-v3/include/std/version | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/std/version b/libstdc++-v3/include/std/version index 012d78e..c5d5efb 100644 --- a/libstdc++-v3/include/std/version +++ b/libstdc++-v3/include/std/version @@ -201,6 +201,9 @@ #endif #define __cpp_lib_is_nothrow_convertible 201806L #define __cpp_lib_remove_cvref 201711L +#if __has_builtin(__builtin_source_location) +# define __cpp_lib_source_location 201907L +#endif #if __cpp_impl_three_way_comparison >= 201907L && __cpp_lib_concepts # define __cpp_lib_three_way_comparison 201907L #endif @@ -273,9 +276,6 @@ # define __cpp_lib_semaphore 201907L #endif #define __cpp_lib_shift 201806L -#if __has_builtin(__builtin_source_location) -# define __cpp_lib_source_location 201907L -#endif #if __cpp_lib_concepts # define __cpp_lib_span 202002L #endif |