SDL/include
Joshua Root 9bf6557585 Correctly check for bswap builtins before using
The __clang_major__ and __clang_minor__ macros provide a marketing
version, which is not necessarily comparable for clang distributions
from different vendors[1]. In practice, the versioning scheme for
Apple's clang is indeed completely different to that of the llvm.org
releases. It is thus preferable to check for features directly rather
than comparing versions.

In this specific case, __builtin_bswap16 was being used with older
Apple clang versions that don't support it.

[1] https://clang.llvm.org/docs/LanguageExtensions.html#builtin-macros
2021-08-12 16:03:44 -07:00
..
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-07-14 17:07:04 -04:00
2021-07-14 17:07:04 -04:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-03-08 09:07:12 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-07-14 17:07:04 -04:00
2021-07-14 17:07:04 -04:00
2021-07-29 13:46:05 +00:00
2021-07-14 17:07:04 -04:00
2021-07-14 17:07:04 -04:00
2021-07-14 17:07:04 -04:00
2021-07-14 17:07:04 -04:00
2021-07-14 17:07:04 -04:00
2021-07-14 17:07:04 -04:00
2021-07-14 17:07:04 -04:00
2021-07-24 17:32:05 +00:00
2021-07-14 17:07:04 -04:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-07-14 17:07:04 -04:00
2021-08-10 22:20:06 +00:00
2021-07-14 17:07:04 -04:00
2021-01-02 10:25:38 -08:00
2021-07-14 17:07:04 -04:00
2021-07-28 17:13:05 +00:00
2021-07-14 17:07:04 -04:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-07-14 17:07:04 -04:00
2021-01-02 10:25:38 -08:00
2021-07-27 14:23:40 -07:00
2021-07-14 17:07:04 -04:00
2021-07-14 17:07:04 -04:00