-
Committer:
Simon Tatham
-
Author(s):
Pavel I. Kryukov
-
Date:
2018-03-14 20:36:31 UTC
-
Revision ID:
git-v1:a27f55e819f2c39ed45425625a0fa63e06089d76
Use correct way to detect new instructions in Clang
__clang_major__ and __clang_minor__ macros may be overriden
in Apple and other compilers. Instead of them, we use
__has_attribute(target) to check whether Clang supports per-function
targeted build and __has_include() to check if there are intrinsic
header files