aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/cpuid.cpp
diff options
context:
space:
mode:
authorDaniel Seither <[email protected]>2015-07-30 20:13:38 +0200
committerDaniel Seither <[email protected]>2015-07-30 20:13:38 +0200
commit9ebc15dd91cffe28fe54f598ff944b6067fd2ad1 (patch)
tree07785bbd89320cd338a2ed24617d987d448471d9 /src/lib/utils/cpuid.cpp
parent46eaa49b1b8b3449eacfee61cb07b30c07415401 (diff)
Enable use of cpuid.h with clang
Diffstat (limited to 'src/lib/utils/cpuid.cpp')
-rw-r--r--src/lib/utils/cpuid.cpp2
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>