From e0a5e3f60bac9d5b20342a544334e484f2479377 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 21 Jan 2011 14:20:50 +0000 Subject: According to PR 137, cpuid.h doesn't exist with Clang on OS X or FreeBSD. It is not being installed by Clang, so it appears on my machine Clang is actually pulling the header in from GCC's private include directory. Closes PR 137 --- src/utils/cpuid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/utils/cpuid.cpp b/src/utils/cpuid.cpp index 30f441bd0..9ea9e82ad 100644 --- a/src/utils/cpuid.cpp +++ b/src/utils/cpuid.cpp @@ -26,7 +26,7 @@ #include #define CALL_CPUID(type, out) do { __cpuid(out, type); } while(0); -#elif (BOTAN_GCC_VERSION >= 430) || defined(BOTAN_BUILD_COMPILER_IS_CLANG) +#elif (BOTAN_GCC_VERSION >= 430) // Only available starting in GCC 4.3 #include -- cgit v1.2.3