diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-01-18 10:01:23 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-01-18 10:03:16 +0000 |
commit | 8f6b62e0f0c99e421d07bf1847259744db22924b (patch) | |
tree | 27edc3ee1c5f42251dc8bd790c0d8701c85ac4e1 /gcc/function.h | |
parent | 97b9236976a4914d268089613d1fb42ece34aff9 (diff) | |
download | gcc-8f6b62e0f0c99e421d07bf1847259744db22924b.zip gcc-8f6b62e0f0c99e421d07bf1847259744db22924b.tar.gz gcc-8f6b62e0f0c99e421d07bf1847259744db22924b.tar.bz2 |
libstdc++: Use GCC's predefined macro for endianness [PR104080]
Instead of hardcoded preprocessor conditionals with explicit target
checks, just rely on the fact that __BYTE_ORDER__ is always defined by
GCC.
libstdc++-v3/ChangeLog:
PR libstdc++/104080
* src/c++17/fast_float/LOCAL_PATCHES: Update.
* src/c++17/fast_float/fast_float.h (FASTFLOAT_IS_BIG_ENDIAN):
Define in terms of __BYTE_ORDER__.
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions