libstdc++: Simplify built-in detection in <utility>
authorJonathan Wakely <jwakely@redhat.com>
Wed, 16 Dec 2020 17:18:10 +0000 (17:18 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 16 Dec 2020 19:25:09 +0000 (19:25 +0000)
commit4d4f82959aa0802611f1183389c4c74d22431e49
treeb9e3b2ff64247297e6785b321bddf52be5a41c63
parent767537a8b027bcb5807bb45b0268c5da98c2c7a0
libstdc++: Simplify built-in detection in <utility>

Now that GCC supports __has_builtin there is no need to test whether
it's defined, we can just use it unconditionally.

libstdc++-v3/ChangeLog:

* include/std/utility: Use __has_builtin without checking if
it's defined.
libstdc++-v3/include/std/utility