* 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:
parent
4e61303a3b
commit
fab53f7b1f
@ -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 ) ) )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user