diff options
author | Simon Warta <[email protected]> | 2015-08-03 17:45:57 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-08-03 17:45:57 +0200 |
commit | e098ae00ed1c4602872247f8a9a145174176b701 (patch) | |
tree | 2a789321511eb9a7af14af3d198074d534325098 /src | |
parent | ec6878b6ff74ad1c5d7b5bfa3eef531eaaeb1bdd (diff) | |
parent | 9ebc15dd91cffe28fe54f598ff944b6067fd2ad1 (diff) |
Merge pull request #232 from tiwoc/clang-cpuid
Enable use of cpuid.h with clang
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/utils/cpuid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/cpuid.cpp b/src/lib/utils/cpuid.cpp index cdb986396..817bf4f52 100644 --- a/src/lib/utils/cpuid.cpp +++ b/src/lib/utils/cpuid.cpp @@ -51,7 +51,7 @@ asm("cpuid\n\t" : "=a" (out[0]), "=b" (out[1]), "=c" (out[2]), "=d" (out[3]) \ : "0" (type), "2" (level)) -#elif defined(BOTAN_BUILD_COMPILER_IS_GCC) +#elif defined(BOTAN_BUILD_COMPILER_IS_GCC) || defined(BOTAN_BUILD_COMPILER_IS_CLANG) #include <cpuid.h> |