* src/pcf/pcfutil.c (BSWAP16): Limit clang support.

These ancient builtins have been supported by clang since 2013. We
condition it somewhat stricter but still around 2017.  This is more
portable than `__has_builtin`. Fixes #1260.
This commit is contained in:
Alexei Podtelezhnikov 2023-10-21 19:08:20 -04:00
parent 4e61303a3b
commit fab53f7b1f
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ in this Software without prior written authorization from The Open Group.
}
#if defined( __clang__ ) || \
#if ( defined( __clang_major__ ) && __clang_major__ >= 5 ) || \
( defined( __GNUC__ ) && \
( __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 8 ) ) )