From 9ebc15dd91cffe28fe54f598ff944b6067fd2ad1 Mon Sep 17 00:00:00 2001 From: Daniel Seither Date: Thu, 30 Jul 2015 20:13:38 +0200 Subject: Enable use of cpuid.h with clang --- src/lib/utils/cpuid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3